qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] CR3 difference by virsh and c program in Guest


From: yu cui
Subject: [Qemu-devel] CR3 difference by virsh and c program in Guest
Date: Mon, 17 Jul 2017 17:59:13 +0800

Hello,

I tried virsh command, it seems CR3 value returns by qemu and dmesg by a c
program in Guest is not same ?
The command is :
virsh -c qemu:///system qemu-monitor-command instance-0000009d

When Guest is 4GB,  CR3 in guest is like "cr3 = 0x39a54000", while qemu
returns "cr3 = 0x0000000139a54000", with a gap of 4GB(0x0000000100000000).
When Guest is 8GB,  CR3 in guest is like "cr3 = 0x39a54000", while qemu
returns "cr3 = 0x0000000239a54000", with a gap of 8GB(0x0000000200000000).

So, it seems that CR3qemu = PysicalMem + CR3guest. Is it a bug?


reply via email to

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