I don't know if this applies to you, but it took me some time to figure out how to start the vm instance correctly.
from http://howtoforge.org/virtualization-with-kvm-on-ubuntu-9.04-p3 "Before you start a new VM for the first time, you must define it from its xml file (located in the /etc/libvirt/qemu/ directory): define /etc/libvirt/qemu/vm1.xml" Are you doing $ sudo virsh virsh # define /etc/libvirt/qemu/<myvm>.xml virsh # start <myvm> then $ ssh me@<myvm addr> or $ vncviewer 127.0.0.1 ? Thanks, Kent 2009/6/19 Aljosa Mohorovic <[email protected]>: > file attached are my current settings, guest machine has no connectivity. > my guess is that /etc/libvirt/qemu/networks/default.xml is wrong but i > have no idea if i should use br0 or virbr0 or something else. > > howto on http://howtoforge.org/ for jaunty uses static ip where i'm > trying to create environment for my laptop and pc at work which all > use dhcp (don't know if there is a difference) and there is no mention > of /etc/libvirt/qemu/networks/default.xml. > http://libvirt.org/formatnetwork.html has description and examples of > config but i'm not sure what should i use. > i've tried several combinations with no success. > > i've created image with this command: > /usr/bin/vmbuilder kvm ubuntu --suite jaunty --flavour virtual > --rootsize=5000 --mem 1024 --mirror > http://hr.archive.ubuntu.com/ubuntu --libvirt qemu:///system -d > my_new_vm --hostname my_hostname --bridge=br0 > > any idea what i'm doing wrong? > > Aljosa Mohorovic > > -- > ubuntu-server mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server > More info: https://wiki.ubuntu.com/ServerTeam > -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
