Re: [PATCH] deal with interrupt shadow state for emulated instruction

From: Avi Kivity
Date: Sun Apr 19 2009 - 04:28:00 EST


H. Peter Anvin wrote:
Avi Kivity wrote:

We don't emulate guest user mode.

Well, if guest userspace can convince its kernel to give it access to some memory mapped I/O register, I guess it can execute repeated 'mov ss, mmio' and starve the guest kernel.


It doesn't need a MMIO register to do that, even.


Can you explain how?

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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