qemu fail to parse command "-net none"
Bug #599617 reported by
xudong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Host OS:ia32e
Guest OS :32e and pae
kvm.git Commit:
qemu-kvm Commit:
Host Kernel Version:2.6.35-rc3
Bug detailed description:
-------
when use command "qemu-system_x86 -smp 2 -m 1024 -hda /path/to/img -net none"
to boot up a guest, guest cannot boot up. and no error message displayed.
Changed in qemu: | |
status: | New → Invalid |
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
To post a comment you must log in.
qemu upstream has fix patch:
Signed-off-by: Amit Shah <email address hidden>
---
net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c init(Monitor *mon, QemuOpts *opts, int
vlan = qemu_find_ vlan(qemu_ opt_get_ number( opts, "vlan", 0), 1);
index 4cb93ed..b681233 100644
--- a/net.c
+++ b/net.c
@@ -1119,7 +1119,7 @@ int net_client_
is_netdev)
}
- ret = -1; types[i] .init) {
ret = net_client_ types[i] .init(opts, mon, name, vlan);
+ ret = 0;
if (net_client_
if (ret < 0) {