diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-04-14 21:43:53 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-04-14 21:43:54 +0930 |
commit | 5094aeafbbd500509f648e3cd102b053bc7926b3 (patch) | |
tree | 8effa3dcde7c1b34ced9f09c7964acbcd8eb49f1 /lib/flex_array.c | |
parent | 2ba3abd8186f24c7fb418927025b4e2120e3a362 (diff) | |
download | op-kernel-dev-5094aeafbbd500509f648e3cd102b053bc7926b3.zip op-kernel-dev-5094aeafbbd500509f648e3cd102b053bc7926b3.tar.gz |
lguest: workaround cmpxchg8b_emu by ignoring cli in the guest.
It's only used by cmpxchg8b_emu (see db677ffa5f5a for the gory
details), and fixing that to be paravirt aware would be more work than
simply ignoring it (and AFAICT only help lguest). This makes lguest
work on machines which have cmpxchg8b, for kernels compiled for older
processors.
(We can't emulate it properly: the popf which expects to restore interrupts
does not trap).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: virtualization@lists.osdl.org
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions