[CentOS-virt] Discover what vnet is attached to a kvm guest
jfranz at freerun.com
Fri May 13 07:50:12 EDT 2011
On 05/13/2011 04:13 AM, carlopmart wrote:
> Hi all,
> How can I see what vnet is attached to a certain kvm guest?? For
> example: I have a kvmguest1. When I launch this guest with virsh
> command, virsh creates a new vnetX interface for this guest. How can I
> extract this virtual net interface (vnet0, vnet1, vnet2 or so on) using
> a script??
The information is available in the output of 'virsh dumpxml <domain>'.
More information about the CentOS-virt