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 -drive

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 information - we

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 to spare... So

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 BUG

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 I have

Re: Question on copy paste

2010-04-15 Thread Jim Paris
Stephen Liu wrote: - Original Message From: Amit Shah amit.s...@redhat.com To: Stephen Liu sati...@yahoo.com 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,

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

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

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 in the printer (works with the same drivers on a native windows xp

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, after enabling USB 2.0 in BIOS on the host, USB is faster within the guest, but I

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 shows

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. Otherwise, virtio networking will fail. The reason

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 amount of memory

Re: Poor network performance with cable modem assigned to guest

2009-08-29 Thread Jim Paris
Jon Fairbairn wrote: Brian Jackson i...@theiggy.com 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

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 shut

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 could

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 Parisj...@jtan.com 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-uhci.c. -jim diff -urN

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 uninitialized

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. The gdb

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 system

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 that

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 riccardo.vera...@cnaf.infn.it 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

Re: Issues with virtio_net in multiple guests?

2009-03-12 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 all

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 19 or jumping to the reset vector, so kvm doesn't see the reboot