We're updating the issue view to help you get more done. 

x86 pseudo inst broken in KVM

Description

I believe there's a problem with using the new ABI API with X86+KVM.

I'm seeing the following when I execute `m5 readfile`

It looks like the parameter fetching isn't quite right. I think that it should be something like `0x7ffffffbeca0, 0x40000, 0x0`. This is the address of the buffer, the size of the buffer, and the offset.

I tried using GDB with gem5, but the output is inscrutable due to the recursive template :/. , if you could give me some pointers, I'd appreciate it!

I can see that my register state in the guest is correct (using GDB in the guest). The args in in rdi, rsi, and rdx, respectively:

I think the problem is that the position isn't being updated in the Argument template. , does the following change look right?

 

See https://gem5-review.googlesource.com/c/public/gem5/+/25543

Environment

None

Assignee

Unassigned

Reporter

Jason Lowe-Power

Priority

Medium

Affects versions

None

Fix versions

None

Epic Link

None

Components

Labels

None
Configure