diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-04 10:39:24 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-04 10:39:24 +0100 |
commit | 786f07dbccaa805b79d11d94e6005618db0feb7b (patch) | |
tree | 81956e9307531dd8bdfb77e9e59d0f602e32e691 | |
parent | 525ed1c0a9aa4b120174962f348076b7b0256e40 (diff) | |
download | xen-786f07dbccaa805b79d11d94e6005618db0feb7b.tar.gz xen-786f07dbccaa805b79d11d94e6005618db0feb7b.tar.bz2 xen-786f07dbccaa805b79d11d94e6005618db0feb7b.zip |
xen: update_runstate_area for 32 bit PV on HVM guests
The current implementation of update_runstate_area is unable to handle
32 bit PV on HVM guests because the check is_pv_32on64_domain doesn't
cover that case. This patch fixes it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-unstable changeset: 21493:144603cc8cb6
xen-unstable date: Tue Jun 01 06:45:44 2010 +0100
-rw-r--r-- | xen/arch/x86/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 1ed5c9e73f..d4a0c44caa 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1323,7 +1323,7 @@ static void update_runstate_area(struct vcpu *v) return; #ifdef CONFIG_COMPAT - if ( is_pv_32on64_domain(v->domain) ) + if ( has_32bit_shinfo(v->domain) ) { struct compat_vcpu_runstate_info info; |