|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] hvm qemu: Fix write parameter masking for
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1178970100 -3600
# Node ID e527b4ff1948bf0a262b6ede167cb88a0303ba8e
# Parent 5f6da38ff8286bd8ce75837d4b3e8e855a53113c
hvm qemu: Fix write parameter masking for 64-bit guests.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/ioemu/target-i386-dm/helper2.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 5f6da38ff828 -r e527b4ff1948 tools/ioemu/target-i386-dm/helper2.c
--- a/tools/ioemu/target-i386-dm/helper2.c Sat May 12 12:37:51 2007 +0100
+++ b/tools/ioemu/target-i386-dm/helper2.c Sat May 12 12:41:40 2007 +0100
@@ -495,7 +495,7 @@ void cpu_ioreq_xchg(CPUState *env, ioreq
void __handle_ioreq(CPUState *env, ioreq_t *req)
{
- if (!req->data_is_ptr && req->dir == IOREQ_WRITE && req->size != 4)
+ if (!req->data_is_ptr && (req->dir == IOREQ_WRITE) && (req->size !=
sizeof(req->data)))
req->data &= (1UL << (8 * req->size)) - 1;
switch (req->type) {
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] hvm qemu: Fix write parameter masking for 64-bit guests.,
Xen patchbot-unstable <=
|
|
|
|
|