https://github.com/torvalds/linux
Revision 5094aeafbbd500509f648e3cd102b053bc7926b3 authored by Rusty Russell on 15 April 2010, 03:43:53 UTC, committed by Rusty Russell on 14 April 2010, 12:13:54 UTC
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
1 parent 2ba3abd
History
Tip revision: 5094aeafbbd500509f648e3cd102b053bc7926b3 authored by Rusty Russell on 15 April 2010, 03:43:53 UTC
lguest: workaround cmpxchg8b_emu by ignoring cli in the guest.
Tip revision: 5094aea
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 166.5 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top