Skip to contentSkip to conversation

"set_link" monitor command

DISCUSSION Michael Jinks 2 participants 3 messages Jul 15, 2009 – Jul 16, 2009 KVM

lore
Share & tools
lore
#0 lore raw

Like I said in my other network puzzlement thread, I have one KVM guest which is working fine. Or, it was until I tried to add a second one, and hosed my virtual bridge.

The guest is still running, but since I restarted the bridge interface that its NIC was attached to, it's no longer attached. I thought that maybe bringing its network interface down and back up again might re-attach it to the bridge. (Was I wrong? Is there some other way to change the network connections for a running guest?)

I found the "set_link" monitor command, but I can't figure out what the link name should be. I've tried:

(qemu) set_link eth0 up
could not find network device 'eth0'(qemu)
(qemu) set_link tap0 up
could not find network device 'tap0'(qemu)

?

#1 lore raw

Another monitor command question: trying to rescue my de-networked guest, I thought I'd try connecting to the console, but in its monitor:

(qemu) info vnc
Server: disabled

According to the command line where I started this kvm instance, vnc should be enabled. Maybe it died? Is there a way to turn it back on again from the monitor? I've looked but I can't find anything...

Quoted 20 lines · Michael Jinks

Like I said in my other network puzzlement thread, I have one KVM guest which is working fine.  Or, it was until I tried to add a second one, and hosed my virtual bridge.

The guest is still running, but since I restarted the bridge interface that its NIC was attached to, it's no longer attached.  I thought that maybe bringing its network interface down and back up again might re-attach it to the bridge.  (Was I wrong?  Is there some other way to change the network connections for a running guest?)

I found the "set_link" monitor command, but I can't figure out what the link name should be.  I've tried:

(qemu) set_link eth0 up
could not find network device 'eth0'(qemu)
(qemu) set_link tap0 up
could not find network device 'tap0'(qemu)

?

#2 lore raw
In reply to Michael Jinks
Quoted 10 lines · Michael Jinks

Like I said in my other network puzzlement thread, I have one KVM guest which is working fine. Or, it was until I tried to add a second one, and hosed my virtual bridge.

The guest is still running, but since I restarted the bridge interface that its NIC was attached to, it's no longer attached. I thought that maybe bringing its network interface down and back up again might re-attach it to the bridge. (Was I wrong? Is there some other way to change the network connections for a running guest?)

Quoted 8 lines

I found the "set_link" monitor command, but I can't figure out what the link name should be. I've tried:

(qemu) set_link eth0 up
could not find network device 'eth0'(qemu)
(qemu) set_link tap0 up
could not find network device 'tap0'(qemu)

Try 'info network'
Y.

Quoted 6 lines

?
--
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