From: Avi Kivity Date: Thu, 22 Feb 2007 17:39:30 +0000 (+0200) Subject: KVM: Do not communicate to userspace through cpu registers during PIO X-Git-Tag: v2.6.22-rc1~1008^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46fc1477887c41c8e900f2c95485e222b9a54822;p=pandora-kernel.git KVM: Do not communicate to userspace through cpu registers during PIO Currently when passing the a PIO emulation request to userspace, we rely on userspace updating %rax (on 'in' instructions) and %rsi/%rdi/%rcx (on string instructions). This (a) requires two extra ioctls for getting and setting the registers and (b) is unfriendly to non-x86 archs, when they get kvm ports. So fix by doing the register fixups in the kernel and passing to userspace only an abstract description of the PIO to be done. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed