[Libvir] QEMU without KVM

Steven W. Moyer smoyer at c-cor.com
Thu May 17 19:19:33 UTC 2007


Gents:

I finally got the networking figured out (had to add a couple more modules to satisfy libvirt_qemud).  Here's a list of the modules I'm loading for virtualization - Does it look about right?:

smoyernew images # lsmod
Module                  Size  Used by
ipt_MASQUERADE          2176  1
iptable_nat             4228  1
nf_nat                  9516  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4       7436  3 iptable_nat
xt_state                1920  1
nf_conntrack           28040  5 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
ipt_REJECT              3072  2
xt_tcpudp               2816  4
rtc                     7216  1
iptable_filter          2048  1
ip_tables               7652  2 iptable_nat,iptable_filter
x_tables                6660  6 ipt_MASQUERADE,iptable_nat,xt_state,ipt_REJECT,xt_tcpudp,ip_tables
bridge                 29720  0
kqemu                 119460  1
tun                     5376  1

> What is the error ? Is there anything in /root/.virt-manager/virt-manager.log
> after the crash.

This hasn't solved the problem with virt-manager (and children) crashing when I click in a child window (just DSL for now).  The error messages are a bit cleaner now that the networking issue if fixed (and I guess we know they're not related).  Here's what shows up on the console:

smoyernew images # virt-manager
process 5225: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

and here's what's in the log file:

Thu, 17 May 2007 15:14:11 WARNING  No support for gnome-keyring
Thu, 17 May 2007 15:14:11 ERROR    Unable to connect to HAL to list network devi
ces: '%s'dbus.DBusException org.freedesktop.DBus.Error.FileNotFound: Failed to c
onnect to socket /var/run/dbus/system_bus_socket: No such file or directory
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 93, in detect_n
etwork_devices
    self.bus = dbus.SystemBus()
  File "//usr/lib/python2.4/site-packages/dbus/_dbus.py", line 652, in __new__
    private=private)
  File "//usr/lib/python2.4/site-packages/dbus/_dbus.py", line 293, in __new__
    mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to soc
ket /var/run/dbus/system_bus_socket: No such file or directory

Thu, 17 May 2007 15:14:11 WARNING  Unable to resolve local hostname for machine
Thu, 17 May 2007 15:14:19 DEBUG    Graphics console configured at vnc://127.0.0.
1:5900
Thu, 17 May 2007 15:14:19 DEBUG    Graphics console configured at vnc://127.0.0.
1:5900

Since I don't have hal on this machine, I think I'll install it and then retry.

Thanks again for all the help!

smoyer

-- 
Steven W. Moyer
Principle Architect, Assurance Applications

C-COR Solutions, LLC
60 Decibel Road
State College, PA  16801

Office Phone: 814-231-4408
Front Desk: 814-238-2461
Cell Phone: 814-883-0391
Fax: 814-278-6540
E-mail: smoyer at c-cor.com

AIM: StevenWMoyer
ICQ: 349680381
Jabber: smoyer1 at jabber.jcware.org
MSN: smoyer64
Yahoo: smoyer64




More information about the libvir-list mailing list