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