qemu fail to parse command "-net none"

Bug #599617 reported by xudong
6
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:a63e16c655f9e68d49d6fae4275ffda16b1888b2
qemu-kvm Commit:97011c7fce92f8c0928c9e94e9896f0dca1bdeb9
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.

Revision history for this message
xudong (xudong-hao) wrote :

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
index 4cb93ed..b681233 100644
--- a/net.c
+++ b/net.c
@@ -1119,7 +1119,7 @@ int net_client_init(Monitor *mon, QemuOpts *opts, int
is_netdev)
                 vlan = qemu_find_vlan(qemu_opt_get_number(opts, "vlan", 0), 1);
             }

- ret = -1;
+ ret = 0;
             if (net_client_types[i].init) {
                 ret = net_client_types[i].init(opts, mon, name, vlan);
                 if (ret < 0) {

Changed in qemu:
status: New → Invalid
Thierry Carrez (ttx)
Changed in qemu-kvm (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
xudong (xudong-hao) wrote :

This issue has gone with qemu-kvm commit d4adede84de96d631f2c6eff2c01eae00b14a110.

Changed in qemu:
status: Invalid → Fix Released
Changed in qemu-kvm (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.