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

Re: [Xen-devel] [PATCH v10 09/20] x86/VPMU: Add public xenpmu.h

On 09/10/2014 10:45 AM, Jan Beulich wrote:
On 04.09.14 at 05:41, <boris.ostrovsky@xxxxxxxxxx> wrote:
+struct xen_pmu_arch {
+    union {
+        struct cpu_user_regs regs;
+        uint8_t pad[256];
+    } r;
Can you remind me again what you need the union and padding for

This structure is laid out in a shared page with a (possibly 32-bit) guest who need to access fields that follow this union.


Xen-devel mailing list



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