qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] QEMU registers: 32 vs 64 bit


From: Szőts Ákos
Subject: [Qemu-discuss] QEMU registers: 32 vs 64 bit
Date: Wed, 19 Sep 2018 15:22:04 +0200

Dear list members,

Sometimes when my virtual machine crashes because of an invalid memory
access the registers QEMU prints out (with "-d") use 32-bit
"notation", like:

qemu: fatal: Trying to execute code outside RAM or ROM at 0x00000000be76ff00
EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000663
ESI=00000000 EDI=000346de EBP=00000000 ESP=fffffff8
EIP=be77ff00 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
[...]

But when in that very same machine I request a print out of the
current register state I get 64 bit ones:

RAX=0000000000000001 RBX=ffff8b83bc339cc0 RCX=0000000000000000
RDX=0000000000000000
RSI=ffffffff9404d919 RDI=0000000000000001 RBP=ffff969c0039fc70
RSP=ffff969c0039fc68
R8 =ffff969c0039fda8 R9 =ffff969c0039fd28 R10=00007ffd0e196834
R11=00007ffffffff000
R12=ffff8b83bc339cc0 R13=ffff8b83bc182000 R14=0000000000000000
R15=ffff969c0039fd7c
RIP=ffffffff934ad2ea RFL=00000202 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0

I would like to ask if I misconfigured something during the VM setup
(more likely) or QEMU has a bug with -d?

Configuration:
- QEMU version: 3.0.0
- Host OS: openSUSE Tumbleweed x64
- Machine started with "qemu-system-x86_64"
- Machine type: QEMU Standard PC (i440FX + PIIX, 1996) [default, "pc"]
- CPU: -cpu 
qemu64,+ssse3,+sse4.1,+sse4.2,+pni,+pclmulqdq,+monitor,+cx16,+movbe,+popcnt,+aes,+xsave,check

Thank you very much!

All the best,

Ákos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]