[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] Is qemu-ifup script called through the virt-manager?



Hi,

I was doing some experimentation with the networking of qemu VMs (configured in bridged networking mode). For this, I needed to do some modifications in the qemu-ifup script. Actually I wanted that the virtual (tap) interfaces should not be added in the linux bridge as they are added in the qemu-ifup script. I did those changes in the script and booted the Virtual Machine through Virt-Manager GUI. But It seems that the qemu-ifup script is not invoked by the Virt-manager at VM startup. Although the VM gets booted properly and the created virtual interface is added to the bridge.

When I see the running processes after booting up the VM I see a long kvm command used to boot up the VM.
 
/usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name VM2 -uuid d1e5f7f6-847b-e127-64bb-d91fdce53acd -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/VM2.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -drive file=/var/lib/libvirt/images/VM2.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=18,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:5e:48:1c,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -vnc 127.0.0.1:0 -vga cirrus -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6


 If I run that command directly to boot the VM the qemu-ifup script is invoked. I assumed that the qemu-ifup script should be invoked through the GUI as well but it is not the case. Can you please tell if I am missing on some thing here?

If the qemu-ifup script is not run, where are the virtual interfaces added in the bridge?

Thanks,
Faiza  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]