Re: how to manage KVM guests with libvirt ?

2009-06-01 Thread Jim Paris
Javier Guerra wrote: > On Mon, Jun 1, 2009 at 11:02 AM, Riccardo Veraldi > wrote: > > thank you very much. > > > > How do I know all the XML tag options ?? > > > > how to convert from comand line quemu options into XML tags ? > > > > and here to put XML file ? > > you'll have to play around a lit

Re: KVM-86 not exposing 64 bits CPU anymore, NICE

2009-06-04 Thread Jim Paris
Gilles PIETRI wrote: > Hi, > > I'm quite pissed off. I just upgraded to kvm-86 on a host that has > worked nicely on kvm-78 for quite some time. But since I was fearing the > qcow2 corruption issues, I wanted to upgrade kvm-86. After testing the > performance, I decided to switch. How stupid

Re: KVM crashes when using certain USB device

2009-07-03 Thread Jim Paris
G wrote: > Hello again, > > I've continued my attempts to get the HASP dongle working, but with no > success: > > Downloaded kvm-72.tar.gz through kvm-87.tar.gz to find out when the > problem first appear, as kvm-72 is working. Unfortunately, kvm-72 > through kvm-82 fails to compile on my Debian

Re: KVM crashes when using certain USB device

2009-07-16 Thread Jim Paris
Hi G, > >> I've continued my attempts to get the HASP dongle working, but with no > >> success: ... > Good idea. The results from three test runs after that change are in > the attached files. The third was done while also dumping the USB bus, > and the output from that dump is also attached. Th

Re: KVM crashes when using certain USB device

2009-07-20 Thread Jim Paris
G wrote: > I'm not too familiar with valgrind output, I have only used it on > smaller programs I've written myself, so I don't know what to think of > the messages (and amount of messages; valgrind told me to use > --error-limit=no). I do get a bit nervous from all the complaints > about uninitial

Re: KVM crashes when using certain USB device

2009-07-21 Thread Jim Paris
G wrote: > On Tue, Jul 21, 2009 at 1:23 AM, Jim Paris wrote: > > Here's a patch to try.  I'm not familiar with the code, but it looks > > like this buffer might be too small versus the packet lengths that > > you're seeing, and similar definitions in hw/usb-uh

Re: How to remove VM (client) with command line ?

2009-07-23 Thread Jim Paris
Stephen Liu wrote: > > Hi folks, > > Debian 5.0 > KVM > > How to remove/delete VM (client) on command line instead of on Virt-manager. > > Ex. > $ sudo virsh --connect qemu:///system > > virsh # list --all > Id Name State > -- > - vm10

Re: how to highlight text with mouse

2009-07-23 Thread Jim Paris
Stephen Liu wrote: > > Hi folks, > > Debian 5.0 > KVM > > I need to copy the text on client's (VM) terminal. Please advise how to > highlight the text with mouse pointer. If you are running kvm with a VNC or SDL display, it is a graphical display and you cannot select text from the host. You

Re: [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/

2011-11-09 Thread Jim Paris
Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 09, 2011 at 11:40:01AM +0100, Gerd Hoffmann escreveu: > > Hi, > > > > > What we want to have is to have a set of distinctive colors - just > > > two (background, foreground) colors are not enough - we also need > > > colors to highlight certain inf

Re: Unable to pass multiple cores / CPUs to guests

2012-01-30 Thread Jim Paris
Binarus wrote: > Dear all, > > it seems that I am unable to pass multiple cores / CPUs to KVM > guests. Whatever I do, the guests only report one CPU / core. ... > /usr/bin/qemu-system-x86_64 -M pc -cpu host -smp cores=2,threads=1,sockets=1 > -drive file=/dev/sda6,if=virtio,cache=none,index=0 -dr

Re: Poor network performance with cable modem assigned to guest

2009-08-29 Thread Jim Paris
Jon Fairbairn wrote: > Brian Jackson writes: > > > On Friday 28 August 2009 01:14:42 pm Jon Fairbairn wrote: > >> I'm experimenting with a virtual router. I did this a few years ago with > >> Xen and it worked well enough, but then fedora changed and it stopped > >> working, so I gave up for a wh

Re: Modifying RAM during runtime on guest

2009-09-28 Thread Jim Paris
Daniel Bareiro wrote: > Hi Brian. > > On Tuesday, 08 September 2009 16:18:09 -0500, > Brian Jackson wrote: > > > > I'm trying to modify the amount of RAM that has some of guests. Host > > > has 2.6.30 kernel with KVM-88. > > > > > > In one of guest I didn't have problems when decreasing the amou

Re: kvm or qemu-kvm?

2009-10-01 Thread Jim Paris
Ross Boylan wrote: > My distro (Debian) is only at 85, even in unstable. Since it wasn't > current, and also the dependencies will have wide effects on my system > (which I'm trying to keep at the stable release Lenny), I figured > getting the current source and building it myself would be the bes

Re: kvm or qemu-kvm?

2009-10-01 Thread Jim Paris
Avi Kivity wrote: > On 10/01/2009 08:06 PM, Jim Paris wrote: >> That's what I do. Just as a warning, if you're using the libvirt >> packages from Debian unstable, make sure you also install >> linux-libc-dev from unstable before building qemu-kvm. >> >

Re: Modifying RAM during runtime on guest

2009-10-07 Thread Jim Paris
Daniel Bareiro wrote: > Hi, Jim. > > > I noticed no-one answered this, and I just ran into the same thing > > > myself. As Avi pointed out earlier, it is a guest bug, and upgrading > > > the guest to 2.6.27 should fix it: > > > > http://www.mail-archive.com/kvm@vger.kernel.org/msg10849.html >

Re: Question on copy & paste

2010-04-15 Thread Jim Paris
Stephen Liu wrote: > > > - Original Message > From: Amit Shah > To: Stephen Liu > Cc: kvm@vger.kernel.org > Sent: Thu, April 15, 2010 9:02:53 AM > Subject: Re: Question on copy & paste > > On (Thu) Apr 15 2010 [08:45:23], Stephen Liu wrote: > > Hi folks, > > > > host - Debian 5.04 >

Re: Question on copy & paste

2010-04-16 Thread Jim Paris
Stephen Liu wrote: > > You can use higher level layers to handle that in the meantime. For > > example, I always use rdesktop to connect to my Windows guests and it > > supports copy and paste just fine. > > Hi Jim, > > Thanks for your advice. > > > Host - Debian 5.0 > Guest - Debian 5.0 > >

Re: [PATCH 5/8] KVM: PPC: Be more informative on BUG

2010-04-18 Thread Jim Paris
Alexander Graf wrote: > We have a condition in the ppc64 host mmu code that should never occur. > Unfortunately, it just did happen to me and I was rather puzzled on why, > because BUG_ON doesn't tell me anything useful. > > So let's add some more debug output in case this goes wrong. Also change

Re: PXE Boot Timeout Issue...

2010-04-23 Thread Jim Paris
Stuart Sheldon wrote: > Stefan Hajnoczi wrote: > > On Fri, Apr 23, 2010 at 1:45 AM, Stuart Sheldon wrote: > >> Just upgraded to 12.3 user space tools from 11.0, and now when I attempt > >> to netboot a guest, it appears that the pxe rom is timing out on dhcp > >> before the bridge has enough time

Re: repeatable hang with loop mount and heavy IO in guest (now in host - not KVM then..)

2010-05-22 Thread Jim Paris
Antoine Martin wrote: > On 02/27/2010 12:38 AM, Antoine Martin wrote: > >>> 1 0 0 98 0 1| 0 0 | 66B 354B| 0 0 | 3011 > >>> 1 1 0 98 0 0| 0 0 | 66B 354B| 0 0 | 2911 > >>>From that point onwards, nothing will happen. > >>>The host has disk IO

Re: [ANNOUNCE] kvm-75 release

2008-09-13 Thread Jim Paris
Avi Kivity wrote: > - restore option roms to their original content on reset > - fixes extboot failures after reset It doesn't seem to work here: $ dmesg | grep kvm | tail -1 [1649282.904413] loaded kvm module (kvm-75) $ sudo kvm | head -1 QEMU PC emulator version 0.9.1 (kvm-75), Copyright (c)

Re: [ANNOUNCE] kvm-75 release

2008-09-13 Thread Jim Paris
Avi Kivity wrote: > Jim Paris wrote: >> Avi Kivity wrote: >> >>> - restore option roms to their original content on reset >>> - fixes extboot failures after reset >> >> It doesn't seem to work here: > > grub is probably booting via int 1

Re: Windows XP Bluescreen when unplugging printer

2009-11-16 Thread Jim Paris
Erik Rull wrote: > Hi all, > > I want to run an epson inkjet within my windows xp guest. my host has > enabled usb 2.0, the USB flashdrive works without any problems. When I > plug in the printer (works with the same drivers on a native windows > xp!), it is recognized and the status monitor sh

Re: Windows XP Bluescreen when unplugging printer

2009-11-18 Thread Jim Paris
Erik Rull wrote: > Jim Paris wrote: >> Erik Rull wrote: >>> Hi all, >>> >>> I want to run an epson inkjet within my windows xp guest. my host has >>> enabled usb 2.0, the USB flashdrive works without any problems. When >>> I plug i

Re: Windows XP Bluescreen when unplugging printer

2009-11-18 Thread Jim Paris
Erik Rull wrote: > Jim Paris wrote: >> Erik Rull wrote: >>> Hi Jim, >>> >>> sorry, still a bluescreen - but another one :-) >>> BUGCODE_USBDRIVER is its name. >>> >>> Any other ideas? With USB 1.1 on the host everything is fine, a

Re: Some keys don't repeat in 64 bit Widows 7 kvm guest

2010-01-16 Thread Jim Paris
Jimmy Crossley wrote: > Thanks for the quick response, Gleb. You are right - we should not > spend our time troubleshooting an issue with something this old. > I'll try downloading all the sources and headers I need to build > kvm-88. I think I'll need another Debian install, since this is a > pr

qemu-kvm-0.12.2 hangs when booting grub, when kvm is disabled

2010-01-21 Thread Jim Paris
Hi, With this small disk image: http://psy.jim.sh/~jim/tmp/diskimage.gz and the new qemu-kvm-0.12.2: $ kvm --version QEMU PC emulator version 0.12.2 (qemu-kvm-0.12.2), Copyright (c) 2003-2008 Fabrice Bellard I can successfully boot to a "grub> " prompt with: $ kvm -drive file=diskima

Re: Issues with virtio_net in multiple guests?

2009-03-11 Thread Jim Paris
Ken Robertson wrote: > Hoping someone can help me track down an issue I'm experiencing on a > KVM machine I built recently. ... > SIOCSIFFLAGS: Cannot assign requested address > > The address isn't in use or anything, so no reason I can think of why > it can't assign it. It recognizes the device,

Re: Issues with virtio_net in multiple guests?

2009-03-12 Thread Jim Paris
Ken Robertson wrote: > Jim, > > That was it! I didn't realize there was some significance of certain > bits within the address. Changing that first byte resolved the issue. > Should I be setting the 2nd bit in the LSB to 1? I started logging > into all the systems I have access to and realized