Il 18/09/2014 15:06, [email protected] ha scritto: > we will lose the error message. Using error_report > to report it. > > Cc: Markus Armbruster <[email protected]> > Signed-off-by: Gonglei <[email protected]> > Reviewed-by: Markus Armbruster <[email protected]> > Reviewed-by: Eric Blake <[email protected]> > --- > v4: > fix typo in the subject (Eric), Thanks. > v3: > fix some typos/grammar issues (Eric) and add 'R-by' tag > v2: > using original condition instead of local_err (Markus) > --- > hw/pci/pci-hotplug-old.c | 5 ++++-
Hi Gonglei, since this is for an HMP-only command, please use qerror_report_err like qemu_pci_hot_add_nic does. Sorry for not noticing this patch earlier. Paolo
