x86: KVM guest: Add memory clobber to hypercalls
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Jul 2008 16:02:36 +0000 (19:02 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 6 Jul 2008 08:05:18 +0000 (11:05 +0300)
commitca3739327b89bb4053a62ac41b67b106c1967ab0
treee6bc50886363c3af4875c84ab60a3965409dcbf8
parentb7279469d66b55119784b8b9529c99c1955fe747
x86: KVM guest: Add memory clobber to hypercalls

Hypercalls can modify arbitrary regions of memory.  Make sure to indicate this
in the clobber list.  This fixes a hang when using KVM_GUEST kernel built with
GCC 4.3.0.

This was originally spotted and analyzed by Marcelo.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/asm-x86/kvm_para.h