aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/viridian.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-13 12:35:34 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-13 12:35:34 +0100
commitb37d30c8fc5226203f5bb71fe79789cd8545f09b (patch)
tree029563b737d32391316a9bb7e4fd4fadd66c97fb /xen/arch/x86/hvm/viridian.c
parent1c4e651d3f00df7e81f8dbbd123b07835d6c9ebc (diff)
downloadxen-b37d30c8fc5226203f5bb71fe79789cd8545f09b.tar.gz
xen-b37d30c8fc5226203f5bb71fe79789cd8545f09b.tar.bz2
xen-b37d30c8fc5226203f5bb71fe79789cd8545f09b.zip
Mapping grant references into HVM guests, take 2
After some discussion, here's a second version of the patch I posted a couple of weeks back to map grant references into HVM guests. As before, this is done by modifying the P2M map, but this time there's no new hypercall to do it. Instead, the existing GNTTABOP_map is overloaded to perform a P2M mapping if called from a shadow mode translate guest. This matches the IA64 API. Signed-off-by: Steven Smith <steven.smith@citrix.com> Acked-by: Tim Deegan <tim.deegan@citrix.com> CC: Bhaskar Jayaraman <Bhaskar.Jayaraman@lsi.com>
Diffstat (limited to 'xen/arch/x86/hvm/viridian.c')
-rw-r--r--xen/arch/x86/hvm/viridian.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/hvm/viridian.c b/xen/arch/x86/hvm/viridian.c
index ca4f224601..37d2615e86 100644
--- a/xen/arch/x86/hvm/viridian.c
+++ b/xen/arch/x86/hvm/viridian.c
@@ -213,7 +213,7 @@ int wrmsr_viridian_regs(uint32_t idx, uint32_t eax, uint32_t edx)
{
uint32_t word = 0;
paddr_t page_start = val & ~1ul;
- hvm_copy_to_guest_phys(page_start, &word, sizeof(word));
+ (void)hvm_copy_to_guest_phys(page_start, &word, sizeof(word));
}
break;