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]>
---
qemu/hw/device-assignment.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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)) {
--
1.5.4.3
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html