Re: Xenner design and kvm msr handling
From: Gerd Hoffmann
Date: Tue Apr 21 2009 - 12:01:22 EST
On 04/21/09 15:33, Avi Kivity wrote:
Gerd Hoffmann wrote:
Not sure, have to dig into the xen code to figure.
Could be xen doesn't remember the page in the first place. They might
let the illegal instruction fault handler patch the opcode. At least I
vaguely remember some discussions about that.
Xen does a simple msr-triggered memcpy() as well, without keeping track
of the page. On a quick glimpse I can't find a opcode patching place
either. Hmm.
Could be there isn't a interface to forgot the page. "reboot" in xen
land is "destroy guest, restart it".
How do you unload a driver then?
The linux module (xen-platform-pci) has no module_exit() ...
cheers,
Gerd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/