projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504c294
)
pci: fix the conversion of config field from array to pointer
author
Juan Quintela
<quintela@redhat.com>
Wed, 11 Nov 2009 23:39:14 +0000
(
00:39
+0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 12 Nov 2009 17:23:57 +0000
(11:23 -0600)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index 2ab1117e71d6a9680f9e3850e5f04a8ae3bb1d18..a326930d4f214f7da8c4526e6d31684fe19180d5 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-273,9
+273,9
@@
static int get_pci_config_device(QEMUFile *f, void *pv, size_t size)
/* just put buffer */
static void put_pci_config_device(QEMUFile *f, void *pv, size_t size)
{
- const uint8_t *v = pv;
+ const uint8_t *
*
v = pv;
assert(size == pci_config_size(container_of(pv, PCIDevice, config)));
- qemu_put_buffer(f, v, size);
+ qemu_put_buffer(f,
*
v, size);
}
static VMStateInfo vmstate_info_pci_config = {