[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/5] Xen PCI passthru: Convert to realize()
From: |
Cao jin |
Subject: |
[Qemu-devel] [PATCH v4 0/5] Xen PCI passthru: Convert to realize() |
Date: |
Fri, 8 Jan 2016 16:37:49 +0800 |
v4 changelog:
1. patch 1/5 is new, according to Eric`s comment, using qemu_strtoul().
2. change xen_host_pci_sysfs_path() to void, use assert inside.
3. fix all Error object memory leak risk, via error_report_err()
4. change 'local_err' to 'err'.
5. fix to all the format-related issue.
Cao jin (5):
Use qemu_strtoul instead of strtol
Add Error **errp for xen_host_pci_device_get()
Add Error **errp for xen_pt_setup_vga()
Add Error **errp for xen_pt_config_init()
Xen PCI passthru: convert to realize()
hw/xen/xen-host-pci-device.c | 145 ++++++++++++++++++++++---------------------
hw/xen/xen-host-pci-device.h | 5 +-
hw/xen/xen_pt.c | 77 +++++++++++++----------
hw/xen/xen_pt.h | 5 +-
hw/xen/xen_pt_config_init.c | 51 ++++++++-------
hw/xen/xen_pt_graphics.c | 11 ++--
6 files changed, 156 insertions(+), 138 deletions(-)
--
2.1.0
- [Qemu-devel] [PATCH v4 0/5] Xen PCI passthru: Convert to realize(),
Cao jin <=
- [Qemu-devel] [PATCH v4 1/5] Use qemu_strtoul instead of strtol, Cao jin, 2016/01/08
- [Qemu-devel] [PATCH v4 3/5] Add Error **errp for xen_pt_setup_vga(), Cao jin, 2016/01/08
- [Qemu-devel] [PATCH v4 2/5] Add Error **errp for xen_host_pci_device_get(), Cao jin, 2016/01/08
- [Qemu-devel] [PATCH v4 5/5] Xen PCI passthru: convert to realize(), Cao jin, 2016/01/08
- [Qemu-devel] [PATCH v4 4/5] Add Error **errp for xen_pt_config_init(), Cao jin, 2016/01/08