|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Calculate correct instruction length for data-fa
On Sat, 2006-04-29 at 19:54 +0100, Keir Fraser wrote:
> > In the BIOS (realmode) these devices are initialized and the subsequent
> > 32-bit code depends on the proper initialization. For the common I/O
> > emulation case this should hopefully be rare.
>
> How does this work now? Do we really have two copies of each device
> model? I doubt that's implemented safely.
Right now the realmode code runs inside the VMX partition where it is
partially emulated by vmxassist. So all accesses to the emulated devices
go through the hypervisor first before they (potentially) end up in
qemu-dm. When a transition is made to 32/64-bit code all the initialized
device state is still there.
The problem of keeping the the hypervisor state and the qemu-dm state in
sync is introduced when we alternate between emulation and real
execution. This becomes more interesting when we consider MP guests
where one CPU is running inside the emulator and another on the real
hardware.
Leendert
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH] Calculate correct instruction length for data-fault VM exits on VT-x systems, (continued)
|
|
|
|
|