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

No differences found