[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[]


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Wed, 04 Jul 2012 04:11:07 +0000
  • Delivery-date: Wed, 04 Jul 2012 04:11:17 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1340883368 -7200
# Node ID fdc1f16d382c8d75ab96be00a9133f39b4384bcf
# Parent  4f92bdf3370c4fe5ed0f00cdeaf8156e4818ecb5
x86/hvm: increase struct hvm_vcpu_io's mmio_large_read[]

Since the emulator now supports a few 256-bit memory operations, this
array needs to follow (and the comments should, too).

To limit growth, re-order the mmio_large_write_* fields so that the
two mmio_large_*_bytes fields end up adjacent to each other.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 4f92bdf3370c -r fdc1f16d382c xen/include/asm-x86/hvm/vcpu.h
--- a/xen/include/asm-x86/hvm/vcpu.h    Wed Jun 27 09:36:43 2012 +0200
+++ b/xen/include/asm-x86/hvm/vcpu.h    Thu Jun 28 13:36:08 2012 +0200
@@ -59,13 +59,13 @@ struct hvm_vcpu_io {
     unsigned long       mmio_gva;
     unsigned long       mmio_gpfn;
 
-    /* We may read up to m128 as a number of device-model transactions. */
+    /* We may read up to m256 as a number of device-model transactions. */
     paddr_t mmio_large_read_pa;
-    uint8_t mmio_large_read[16];
+    uint8_t mmio_large_read[32];
     unsigned int mmio_large_read_bytes;
-    /* We may write up to m128 as a number of device-model transactions. */
+    /* We may write up to m256 as a number of device-model transactions. */
+    unsigned int mmio_large_write_bytes;
     paddr_t mmio_large_write_pa;
-    unsigned int mmio_large_write_bytes;
 };
 
 #define VMCX_EADDR    (~0ULL)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.