projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae64c2
)
io passthru: fix a bug when assigning a SATA CDROM or DISK
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 1 Aug 2008 08:45:36 +0000
(09:45 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 1 Aug 2008 08:45:36 +0000
(09:45 +0100)
Signed-off-by: Li Zhang <li.zhang@intel.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
xen/arch/x86/hvm/io.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/io.c
b/xen/arch/x86/hvm/io.c
index 6a8e0885c0757828035b74f5b3652dd8f9b79a56..0d7f5ffa6b3cdc2c637b52ffac194accb3705fb4 100644
(file)
--- a/
xen/arch/x86/hvm/io.c
+++ b/
xen/arch/x86/hvm/io.c
@@
-284,7
+284,7
@@
void dpci_ioport_write(uint32_t mport, ioreq_t *p)
data = p->data;
if ( p->data_is_ptr )
(void)hvm_copy_from_guest_phys(
- &data, p->data + (sign * i
&
p->size), p->size);
+ &data, p->data + (sign * i
*
p->size), p->size);
switch ( p->size )
{