[libvirt] interface.script not launched (KVM/qemu)

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

 



Hi,

I use kvm and libvirt for running windows on a fedora-core9.

Problem: I defined a interface script which should run, if the KVM/qemu
starts, but libvirt does not tell kvm to use the script:

Part of my domain.xml:

    <interface type="bridge">
      <source bridge="br-guest"/>
      <script path='bridge-kvm.sh'/>
      <model type='e1000'/>
    </interface>

Part of the logfile of qemu in /var/log/libvirt/qemu
	LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /
/usr/bin/qemu-kvm \
		-S -M pc -m 250 -smp 1 -name winxp100 -monitor pty -boot
c \
		-drive file=/tmp/winxp100,if=ide,index=0,boot=on \
		-net nic,macaddr=52:54:00:79:d5:c9,vlan=0,model=e1000 \
		-net tap,fd=14,script=,vlan=0,ifname=vnet0 \
		-serial pty -parallel none -usb -usbdevice tablet -vnc
0.0.0.0:0 

There, you can see the empty script directive "...,script=,...."

root@kvm ~]$ rpm -qa | grep libvirt
libvirt-0.5.1-2.fc9.x86_64

How can I fix this problem ?

regards
Danny

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]