v3 changelog: 1. use following style when we want to check the returned error
Error *err = NULL; foo(arg, &err); if (err) { handle the error... error_propagate(errp, err); } Cao jin (4): 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 | 106 +++++++++++++++++++++++++------------------ hw/xen/xen-host-pci-device.h | 5 +- hw/xen/xen_pt.c | 73 ++++++++++++++++------------- hw/xen/xen_pt.h | 5 +- hw/xen/xen_pt_config_init.c | 51 +++++++++++---------- hw/xen/xen_pt_graphics.c | 11 +++-- 6 files changed, 141 insertions(+), 110 deletions(-) -- 2.1.0