From gianluca.cecchi at gmail.com Tue Dec 1 09:48:37 2009 From: gianluca.cecchi at gmail.com (Gianluca Cecchi) Date: Tue, 1 Dec 2009 10:48:37 +0100 Subject: [fedora-virt] some vm die in F12 In-Reply-To: <561c252c0911300658k2059e39aoa0e353f2aece377c@mail.gmail.com> References: <561c252c0911300600r3edd52a3h175c81ff25e30911@mail.gmail.com> <4B13D8D3.4020805@redhat.com> <561c252c0911300648i5091d17fn1e29eb541f7ecc64@mail.gmail.com> <561c252c0911300658k2059e39aoa0e353f2aece377c@mail.gmail.com> Message-ID: <561c252c0912010148n179f394bq312be600f1267adf@mail.gmail.com> On Mon, 30 Nov 2009 21:23:18 +0100, Anders Rayner-Karlsson wrote: > It would not perchance be BZ#540330 you're hitting would it? > > Worth checking what the size is of libvirtd periodically perhaps, if > nothing else, to rule out that it's this BZ. > Just my ?2 :) > /Anders I think it is exactly it... ;-( On my server I have now PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2904 root 19 -1 10.6g 9.8g 2712 S 0.0 83.6 16:12.42 libvirtd [root at virtfed ~]# ps -eo rss,pid,cmd|egrep libvirtd|egrep -v egrep 10309532 2904 libvirtd --daemon --listen Based on bugzilla info, in the mean time I restarted libvirtd. I'm going to follow the bug and add my data to it... Thanks for the pointer! Gianluca From andres at verot.com Tue Dec 1 10:34:50 2009 From: andres at verot.com (=?ISO-8859-1?Q?Andr=E9s_Garc=EDa?=) Date: Tue, 01 Dec 2009 11:34:50 +0100 Subject: [fedora-virt] USB in F12 Message-ID: <4B14F14A.2040609@verot.com> Hi, I am having trouble with guests detecting usb gadgets. For example, I have a usb bluetooth dongle, with F11 I would just add it to the guest machine and the F11 guest could use it without a hitch. With the new F12 host and updated F11 to F12 guest, it isn't as easy. Doing lsusb at the host I get: Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus] Using the virt-manager gui I add the bluetooth dongle, it seems to work but bluetooth at the guest doesn't detect the dongle and doing lsusb returns: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 1.1 root hub The same thing it returns before adding the dongle. Is there something obvious I am missing? And, when I add a physical device like this, does the xml file with the definition of the guest get altered so that it will keep added the next time the host is booted up? Thanks, Andres From bderzhavets at yahoo.com Tue Dec 1 17:27:16 2009 From: bderzhavets at yahoo.com (Boris Derzhavets) Date: Tue, 1 Dec 2009 09:27:16 -0800 (PST) Subject: [fedora-virt] ANNOUNCE: Rawhide virt repo for F12 users In-Reply-To: <1258581390.17468.145.camel@localhost> References: <1258581390.17468.145.camel@localhost> Message-ID: <526540.15590.qm@web56106.mail.re3.yahoo.com> Upgrade to Libvirt on F12 via suggested repo makes it unusable by Xen 3.4.1 (2) installed via xen-3.4.1-5.fc12.src.rpm. Is it supposed to happen ? The highest libvirt version coming with F12 and good for Xen is 0.7.1-15. Boris. ________________________________ From: Justin M. Forbes To: fedora-virt at redhat.com Sent: Thu, November 19, 2009 12:56:30 AM Subject: [fedora-virt] ANNOUNCE: Rawhide virt repo for F12 users As was done for Fedora 11 users, the tradition continues, only the locations have changed. We've set up a repository for people running Fedora 12 who would like to test the rawhide/F13 virt packages. To use it, do e.g. $> cat > /etc/yum.repos.d/fedora-virt-preview.repo << EOF [rawvirt] name=Virtualization Rawhide for Fedora 12 baseurl=http://jforbes.fedorapeople.org/virt-preview/f12/$basearch/ enabled=1 gpgcheck=0 EOF $> yum update At the moment, it contains the F-13 versions of libvirt and virt-manager, but as F-13 development continues, it will contain more. I'll send periodic mails to the list detailing the latest updates. A couple of improvements have been made this time around. Namely packages are build with mock instead of koji so that new packages can be used a BuildRequires for other new packages. Also new builds are triggered by successful koji builds of tracked packages against dist-rawhide, so the process is a bit more automated. Also, this is still a work-in-progress. The TODO list includes: - include debuginfo packages in the repo (need more quota) - find a better location than jforbes.fedorapeople.org Comments most welcome. Help with the TODO list is even more welcome :-) Thanks, Justin M. Forbes _______________________________________________ Fedora-virt mailing list Fedora-virt at redhat.com https://www.redhat.com/mailman/listinfo/fedora-virt -------------- next part -------------- An HTML attachment was scrubbed... URL: From crobinso at redhat.com Thu Dec 3 21:58:32 2009 From: crobinso at redhat.com (Cole Robinson) Date: Thu, 03 Dec 2009 16:58:32 -0500 Subject: [fedora-virt] ANNOUNCE: New releases virt-manager 0.8.1 and virtinst 0.500.1 Message-ID: <4B183488.1040904@redhat.com> I'm happy to announce two new releases: virt-manager 0.8.1: virt-manager is a desktop application for managing KVM and Xen virtual machines via libvirt. virtinst 0.500.1: virtinst is a collection of command line tools for provisioning libvirt virtual machines, including virt-install and virt-clone. The releases can be downloaded from: http://virt-manager.org/download.html The direct download links are: http://virt-manager.org/download/sources/virt-manager/virt-manager-0.8.1.tar.gz http://virt-manager.org/download/sources/virtinst/virtinst-0.500.1.tar.gz The virt-manager release includes: - VM Migration wizard, exposing various migration options - Enumerate CDROM and bridge devices on remote connections - Can once again list multiple graphs in the manager window (Jon Nordby) - Support disabling dhcp (Michal Novotny), and specifying 'routed' type for new virtual networks - Support storage pool source enumeration for LVM, NFS, and SCSI - Allow changing VM ACPI, APIC, clock offset, individual vcpu pinning, and video model (vga, cirrus, etc.) - Many improvements and bugfixes The virtinst release includes: - virt-install now attempts --os-variant detection by default. This can be disabled with '--os-variant none' (distro detection currently only works for URL installs) - New --disk option 'format', for creating image disks formats such as qcow2 or vmdk - Many improvements and bugfixes Thanks to everyone who has contributed to this release through testing, bug reporting, submitting patches, and otherwise sending in feedback! Thanks, Cole From jameshubbard at gmail.com Sun Dec 6 20:33:19 2009 From: jameshubbard at gmail.com (James Hubbard) Date: Sun, 6 Dec 2009 15:33:19 -0500 Subject: [fedora-virt] Kernel Bug in Guests Message-ID: I'm getting errors dumped to console for guests. The guests are Centos 5.4 i386 and x86_64 guests running at the same time. I've configured each with 2048MB RAM and 2 processors. One is set for i686 and the other for x86_64. The host is a Phenon II X4 810 with 8GB of RAM. Both guests are running at the same time, but aren't doing much of anything. Kernel: 2.6.31.6-145.fc12.x86_64 Smolt Profile. http://www.smolts.org/client/show/pub_b0b2aaa5-92b5-4cd5-9192-b8c63f92afe3 Does anyone have a suggestion? Here's the output for x86_64 guest. BUG: soft lockup - CPU#0 stuck for 33s! [swapper:0] CPU 0: Modules linked in: ipv6 xfrm_nalgo crypto_api autofs4 hidp rfcomm l2cap bluetooth lockd sunrpc dm_mirror dm_multipath scsi_dh video hwmon backlight sbs i2c_ec button battery asus_acpi acpi_memhotplug ac parport_pc lp parport floppy snd_ens1370 gameport snd_rawmidi snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm virtio_pci snd_timer snd_ak4531_codec snd i2c_piix4 8139too soundcore virtio_ring 8139cp pcspkr i2c_core mii snd_page_alloc virtio serio_raw ide_cd cdrom dm_raid45 dm_message dm_region_hash dm_log dm_mod dm_mem_cache ata_piix libata sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd Pid: 0, comm: swapper Not tainted 2.6.18-164.6.1.el5 #1 RIP: 0010:[] [] __do_softirq+0x51/0x133 RSP: 0018:ffffffff8043df60 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000002 RCX: ffffffff803f3ee8 RDX: ffffffff803f3fd8 RSI: 0000000000000000 RDI: ffffffff80300ae0 RBP: ffffffff8043dee0 R08: 0000000000000001 R09: ffff810081f42000 R10: ffffffff8043df98 R11: ffff810071f61c90 R12: ffffffff8005dc8e R13: 0000000000000046 R14: ffffffff80077874 R15: ffffffff8043dee0 FS: 00002b05242956e0(0000) GS:ffffffff803c1000(0000) knlGS:00000000f7f2f6c0 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 00002b64e73143a0 CR3: 00000000725cf000 CR4: 00000000000006e0 Call Trace: [] call_softirq+0x1c/0x28 [] do_softirq+0x2c/0x85 [] default_idle+0x0/0x50 [] apic_timer_interrupt+0x66/0x6c [] default_idle+0x29/0x50 [] cpu_idle+0x95/0xb8 [] start_kernel+0x220/0x225 [] _sinittext+0x22f/0x236 Here's the output for i686. BUG: soft lockup - CPU#0 stuck for 10s! [swapper:0] Pid: 0, comm: swapper EIP: 0060:[] CPU: 0 EIP is at handle_IRQ_event+0x39/0x8c EFLAGS: 00000246 Tainted: G S (2.6.18-164.el5 #1) EAX: 0000000e EBX: c06f3580 ECX: f7cb8b00 EDX: c0741fb4 ESI: f7cb8b00 EDI: 0000000e EBP: 00000000 DS: 007b ES: 007b CR0: 8005003b CR2: 001ee8a0 CR3: 355fb000 CR4: 000006d0 [] __do_IRQ+0x84/0xd6 [] __do_IRQ+0x0/0xd6 [] do_IRQ+0x99/0xc3 [] common_interrupt+0x1a/0x20 [] __do_softirq+0x57/0x114 [] do_softirq+0x52/0x9c [] apic_timer_interrupt+0x1f/0x24 [] default_idle+0x0/0x59 [] default_idle+0x31/0x59 [] cpu_idle+0x9f/0xb9 [] start_kernel+0x37b/0x383 ======================= From cochranb at speakeasy.net Mon Dec 7 00:30:42 2009 From: cochranb at speakeasy.net (Robert L Cochran) Date: Sun, 06 Dec 2009 19:30:42 -0500 Subject: [fedora-virt] Running Gumstix Environment As A Virtual Machine? Message-ID: <4B1C4CB2.1020000@speakeasy.net> Can the Gumstix computer-on-module environment be run as a virtual machine? http://www.gumstix.com/ I am wondering if there is an easily installed VM for Gumstix that will allow me to avoid buying the hardware while still being able to emulate it's operation. In other words, I'm hoping to save some money by not getting the Gumstix hardware till I really need it. Thanks Bob Cochran Greenbelt, Maryland, USA From emari2 at telefonica.net Tue Dec 8 08:21:22 2009 From: emari2 at telefonica.net (Emilio Mari Solera) Date: Tue, 8 Dec 2009 09:21:22 +0100 Subject: [fedora-virt] MY EMAIL FOR POST Message-ID: <40958A63-6E8D-43A1-8CEF-271398733AB0@telefonica.net> emari2 at telefonica.net From sven at lank.es Tue Dec 8 12:34:38 2009 From: sven at lank.es (Sven Lankes) Date: Tue, 8 Dec 2009 13:34:38 +0100 Subject: [fedora-virt] libvirt segfault w/ virt-viewer Message-ID: <20091208123438.GR24306@killefiz> Hello, both client and server are up to date F12 installs (64bit). virt-manager over ssh works fine, bute invoking virt-viewer: virt-viewer -c qemu+ssh://root at frooknuckle.host.name dns leads to: Dec 8 13:26:04 frooknuckle kernel: libvirtd[2866]: segfault at 0 ip 0000003a8bb1bdb6 sp 00007f24a4b45aa8 error 4 in libc-2.11.so[3a8ba00000+16f000] on the server side. Before I log a bug - can anyone reproduce the issue? How can I switch libvirt to be more verbose to get some context to add to a bugreport? -- sven === jabber/xmpp: sven at lankes.net From rjones at redhat.com Tue Dec 8 12:41:05 2009 From: rjones at redhat.com (Richard W.M. Jones) Date: Tue, 8 Dec 2009 12:41:05 +0000 Subject: [fedora-virt] libvirt segfault w/ virt-viewer In-Reply-To: <20091208123438.GR24306@killefiz> References: <20091208123438.GR24306@killefiz> Message-ID: <20091208124105.GA3821@amd.home.annexia.org> On Tue, Dec 08, 2009 at 01:34:38PM +0100, Sven Lankes wrote: > Hello, > > both client and server are up to date F12 installs (64bit). virt-manager > over ssh works fine, bute invoking virt-viewer: > > virt-viewer -c qemu+ssh://root at frooknuckle.host.name dns > > leads to: > > Dec 8 13:26:04 frooknuckle kernel: libvirtd[2866]: segfault at 0 ip 0000003a8bb1bdb6 sp 00007f24a4b45aa8 error 4 in libc-2.11.so[3a8ba00000+16f000] > > on the server side. > > Before I log a bug - can anyone reproduce the issue? How can I switch > libvirt to be more verbose to get some context to add to a bugreport? One way is to enable more logging, in /etc/libvirt/libvirt.conf. Another way is to set LIBVIRTD_ARGS="--verbose" in /etc/sysconfig/libvirtd (although that just causes libvirtd to print more messages to stderr, I'm not sure where those messages will end up if you use the /etc/init.d/libvirtd [start|stop] command). However in this case I think what you need is a stack trace. Do: # debuginfo-install libvirt and then: # /etc/init.d/libvirtd stop # gdb --args /usr/sbin/libvirtd (gdb) run and then when you hit the segfault, get a backtrace using the 'bt' command. Maybe also ABRT can do this automatically .. anyone? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ From rjones at redhat.com Tue Dec 8 12:47:18 2009 From: rjones at redhat.com (Richard W.M. Jones) Date: Tue, 8 Dec 2009 12:47:18 +0000 Subject: [fedora-virt] Running Gumstix Environment As A Virtual Machine? In-Reply-To: <4B1C4CB2.1020000@speakeasy.net> References: <4B1C4CB2.1020000@speakeasy.net> Message-ID: <20091208124718.GB3821@amd.home.annexia.org> On Sun, Dec 06, 2009 at 07:30:42PM -0500, Robert L Cochran wrote: > Can the Gumstix computer-on-module environment be run as a virtual machine? > > http://www.gumstix.com/ > > I am wondering if there is an easily installed VM for Gumstix that will > allow me to avoid buying the hardware while still being able to emulate > it's operation. In other words, I'm hoping to save some money by not > getting the Gumstix hardware till I really need it. I thought this was unlikely, but a bit of searching reveals that there are people doing this, eg: http://gumstix.ecs.soton.ac.uk/wiki/index.php?title=Qemu http://docwiki.gumstix.org/Gumstix_emulation_for_QEMU http://www.bitmux.org/qemu.html Of course, because Gumstix is ARM-based you won't be able to use acceleration (KVM). Plain QEMU seems like it will work. Libvirt won't know about the non-standard QEMU parameters (like -pflash) so it's best to just use the qemu-system-arm command directly. For help you should go directly to the resources suggested above. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/ From sven at lank.es Tue Dec 8 13:55:51 2009 From: sven at lank.es (Sven Lankes) Date: Tue, 8 Dec 2009 14:55:51 +0100 Subject: [fedora-virt] libvirt segfault w/ virt-viewer In-Reply-To: <20091208124105.GA3821@amd.home.annexia.org> References: <20091208123438.GR24306@killefiz> <20091208124105.GA3821@amd.home.annexia.org> Message-ID: <20091208135551.GB11146@killefiz> On Tue, Dec 08, 2009 at 12:41:05PM +0000, Richard W.M. Jones wrote: > However in this case I think what you need is a stack trace. Do: > # debuginfo-install libvirt > and then: > # /etc/init.d/libvirtd stop > # gdb --args /usr/sbin/libvirtd > (gdb) run > and then when you hit the segfault, get a backtrace using the 'bt' > command. Thanks bug filed: https://bugzilla.redhat.com/show_bug.cgi?id=545400 > Maybe also ABRT can do this automatically .. anyone? The server libvirt is runing on doesn't have X. -- sven === jabber/xmpp: sven at lankes.net From cochranb at speakeasy.net Wed Dec 9 02:00:41 2009 From: cochranb at speakeasy.net (Robert L Cochran) Date: Tue, 08 Dec 2009 21:00:41 -0500 Subject: [fedora-virt] Running Gumstix Environment As A Virtual Machine? In-Reply-To: <20091208124718.GB3821@amd.home.annexia.org> References: <4B1C4CB2.1020000@speakeasy.net> <20091208124718.GB3821@amd.home.annexia.org> Message-ID: <4B1F04C9.1080701@speakeasy.net> On 12/08/2009 07:47 AM, Richard W.M. Jones wrote: > On Sun, Dec 06, 2009 at 07:30:42PM -0500, Robert L Cochran wrote: > >> Can the Gumstix computer-on-module environment be run as a virtual machine? >> >> http://www.gumstix.com/ >> >> I am wondering if there is an easily installed VM for Gumstix that will >> allow me to avoid buying the hardware while still being able to emulate >> it's operation. In other words, I'm hoping to save some money by not >> getting the Gumstix hardware till I really need it. >> > I thought this was unlikely, but a bit of searching reveals that there > are people doing this, eg: > > http://gumstix.ecs.soton.ac.uk/wiki/index.php?title=Qemu > http://docwiki.gumstix.org/Gumstix_emulation_for_QEMU > http://www.bitmux.org/qemu.html > > Of course, because Gumstix is ARM-based you won't be able to use > acceleration (KVM). Plain QEMU seems like it will work. Libvirt > won't know about the non-standard QEMU parameters (like -pflash) so > it's best to just use the qemu-system-arm command directly. > > For help you should go directly to the resources suggested above. > > Rich. > Thanks Rich! I'm going to work on this a bit in Fedora 12 and see if I can succeed with it. I really appreciate your thoughts. I played with qemu once when testing FreeDOS but never did any serious work with virtualization. I keep getting distracted. Bob From rayvittal-lists at yahoo.com Wed Dec 9 04:23:33 2009 From: rayvittal-lists at yahoo.com (C V) Date: Tue, 8 Dec 2009 20:23:33 -0800 (PST) Subject: [fedora-virt] Fw: fc12 virsh tap networking problem Message-ID: <776636.43402.qm@web180301.mail.gq1.yahoo.com> Hi, On a fresh FC12 system, I am able to create and run KVM-based vms with tap networking using the qemu-kvm command line but not using virsh. I have user and group set to "root" in /etc/libvirt/qemu.conf. "user mode networking" works with virsh, but not tap! selinux is disabled. I have this xml: centos 22d9d573-d82c-c18d-36c0-d3ffef057468 131072 1 hvm /usr/bin/qemu-kvm