From: Mark McLoughlin <[EMAIL PROTECTED]> It's standard practice in qemu to exit if command line parameter fails, so do that here too.
Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/qemu/hw/device-assignment.c b/qemu/hw/device-assignment.c index eb2a73a..8fbd66c 100644 --- a/qemu/hw/device-assignment.c +++ b/qemu/hw/device-assignment.c @@ -620,6 +620,7 @@ void add_assigned_devices(PCIBus *bus, const char **devices, int n_devices) if (!adev) { fprintf(stderr, "Could not add assigned device %s\n", devices[i]); continue; + exit(1); } if (!init_assigned_device(adev, bus)) { -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html