Re: Xenner design and kvm msr handling

From: Avi Kivity
Date: Tue Apr 21 2009 - 12:16:12 EST


Gerd Hoffmann wrote:
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.


Maybe migration is cooperative, that is the host tells the guest it is migrated, so it can re-register the hypercall area?

--
error compiling committee.c: too many arguments to function

--
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/