[libvirt-users] sttic vnet device for guest

Anton Gorlov stalker at altlinux.ru
Tue Nov 8 19:05:28 UTC 2016


What i doing wrong?

03.11.2016 22:49, Anton Gorlov пишет:

> create device by command
> ip tuntap add dev privnet0 mode tap one_queue vnet_hdr
> 
> set it in guest xml by
> 
> <interface type='network'>
>       <mac address='52:54:00:e8:6d:19'/>
>       <source network='testnet'/>
>       <target dev='privnet0'/>
>       <model type='virtio'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>
>     </interface>
> 
> testnet is
> 
> <network>
>   <name>testnet</name>
>   <uuid>f31d8d1b-9ff4-8bf7-d8b6-e6bd8759a2f1</uuid>
>   <forward mode='bridge'/>
>   <bridge name='br0' />
> </network>
> 
> 
> guest start, privnet0 added to bridge br0 and set up.
> work fine.
> after guest is shutdown privnet0 is not removed from bridge br0 and
> guest not started after.
> What is wrong?




More information about the libvirt-users mailing list