[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 7/8] vfio-pci: Add dummy PCI ROM write accessor
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PULL v2 7/8] vfio-pci: Add dummy PCI ROM write accessor |
Date: |
Thu, 10 Oct 2013 12:44:59 -0600 |
User-agent: |
StGit/0.16 |
Just to be sure we don't jump off any NULL pointer cliffs.
Signed-off-by: Alex Williamson <address@hidden>
Reported-by: Paolo Bonzini <address@hidden>
---
hw/misc/vfio.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c
index 68e25bd..1fbc40b 100644
--- a/hw/misc/vfio.c
+++ b/hw/misc/vfio.c
@@ -1128,8 +1128,14 @@ static uint64_t vfio_rom_read(void *opaque, hwaddr addr,
unsigned size)
return val;
}
+static void vfio_rom_write(void *opaque, hwaddr addr,
+ uint64_t data, unsigned size)
+{
+}
+
static const MemoryRegionOps vfio_rom_ops = {
.read = vfio_rom_read,
+ .write = vfio_rom_write,
.endianness = DEVICE_LITTLE_ENDIAN,
};
- [Qemu-devel] [PULL v2 0/8] VFIO updates for QEMU, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 1/8] vfio-pci: Add support for MSI affinity, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 2/8] vfio-pci: Test device reset capabilities, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 3/8] vfio-pci: Lazy PCI option ROM loading, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 4/8] vfio-pci: Cleanup error_reports, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 5/8] vfio-pci: Implement PCI hot reset, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 6/8] vfio: Fix debug output for int128 values, Alex Williamson, 2013/10/10
- [Qemu-devel] [PULL v2 7/8] vfio-pci: Add dummy PCI ROM write accessor,
Alex Williamson <=
- [Qemu-devel] [PULL v2 8/8] vfio-pci: Fix endian issues in vfio_pci_size_rom(), Alex Williamson, 2013/10/10