[Pkg-libvirt-maintainers] Bug#612036: virt-manager: cannot use a local sdl window as a graphics option
Haruo Kinoshita
haruo31 at gmail.com
Fri Feb 18 03:49:39 UTC 2011
Hi,
I have same problem as following.
It seems libvirt-bin cannot bring up virbrN.
When create virbr0 by hand, virtual machine starts with no error.
> 2011-02-05 12:34:13,620 (proxies:400): Introspect error on
> :1.1:/org/freedesktop/Hal/devices/net_XX_XX_XX_XX_XX_XX:
> dbus.exceptions.DBusException: org.freedesktop.Hal.NoSuchDevice: No
> device with id /org/freedesktop/Hal/devices/net_XX_XX_XX_XX_XX_XX
> 2011-02-05 12:34:13,621 (proxies:403): Executing introspect queue due to error
> 2011-02-05 12:34:13,622 (connection:218): Exception in handler for D-Bus signal:
... snip
> **keywords)
> File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in
> call_blocking
> message, timeout)
> DBusException: org.freedesktop.Hal.NoSuchDevice: No device with id
> /org/freedesktop/Hal/devices/net_XX_XX_XX_XX_XX_XX
> clear_emulator_capabilities = 0
> user = root
> group = root
I tried it, but same error occurs.
--------------------------------------------------------------------------------
haruo-31 at mia:~$ ps -ef | grep libv
root 3608 1 0 11:58 ? 00:00:00 /usr/sbin/libvirtd -d
--------------------------------------------------------------------------------
Following is virtual machine configration.
--------------------------------------------------------------------------------
mia:/etc/libvirt/qemu# cat debian-web.xml
<domain type='kvm'>
<name>debian-web</name>
<uuid>b0226ef5-e7fc-d0e9-127a-025e1ca4bbe1</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc-0.13'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/debian-web.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
</disk>
<disk type='block' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hdc' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='1' unit='0'/>
</disk>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
</controller>
<interface type='network'>
<mac address='52:54:00:68:90:0e'/>
<source network='virtlan'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/>
<sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
</sound>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</memballoon>
</devices>
</domain>
network configuration.
--------------------------------------------------------------------------------
mia:/etc/libvirt/qemu# cat networks/
autostart/ default.xml virtlan.xml
mia:/etc/libvirt/qemu# cat networks/virtlan.xml
<network>
<name>virtlan</name>
<uuid>d4b8162b-ea98-7335-3354-380cf2f27b8f</uuid>
<forward mode='nat'/>
<bridge name='virbr1' stp='on' delay='0' />
<ip address='192.168.254.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.254.128' end='192.168.254.254' />
</dhcp>
</ip>
</network>
Thanks in advance.
--
Haruo Kinoshita
More information about the Pkg-libvirt-maintainers
mailing list