Re: [PATCH] Add a subtest pci_hotplug in kvm test

2009-07-03 Thread Yolkfull Chow
On 07/03/2009 01:57 PM, Yolkfull Chow wrote: Signed-off-by: Yolkfull Chowyz...@redhat.com --- client/tests/kvm/kvm.py |1 + client/tests/kvm/kvm_tests.cfg.sample | 65 ++- client/tests/kvm/kvm_tests.py | 94 +

Re: Weird Windows license issue

2009-07-03 Thread Yaniv Kaul
On 7/3/2009 2:02 AM, Michael Jinks wrote: On Thu, Jul 2, 2009 at 5:45 PM, Sterling Windmillsterl...@ampx.net wrote: What do you mean by rejected? Is the installer not taking your key (I doubt this would be caused by anything KVM specific), Right, that. I don't have the screen in

Re: [PATCH v5] enable x2APIC without interrupt remapping under KVM

2009-07-03 Thread Ingo Molnar
* Suresh Siddha suresh.b.sid...@intel.com wrote: On Wed, 2009-07-01 at 06:30 -0700, Gleb Natapov wrote: KVM would like to provide x2APIC interface to a guest without emulating interrupt remapping device. The reason KVM prefers guest to use x2APIC is that x2APIC interface is better

Re: [DRBD-user] kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-03 Thread Lars Ellenberg
On Thu, Jul 02, 2009 at 11:55:05PM +0400, Michael Tokarev wrote: Hello. I'm new on drbd-user@, but long-time user of kvm. [A side note: drbd-user@ appears to be subscribers-only list. Sad consequence of spammers activity... I doubt many knowlegeable people on kvm@ are subscribed to

Re: [Autotest] [PATCH] Add a client-side test qemu_iotests

2009-07-03 Thread Yolkfull Chow
On 07/03/2009 01:03 PM, Lucas Meneghel Rodrigues wrote: On Thu, 2009-07-02 at 21:23 -0300, Lucas Meneghel Rodrigues wrote: Ok, I've been trough the test and took a look at the testsuite itself. Both look good. The testsuite requires a very current qemu-img package, due to the use of qemu-io

Re: KVM crashes when using certain USB device

2009-07-03 Thread G
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 with kernel

Re: slow guest performance with build load, looking for ideas

2009-07-03 Thread Matty
On Sun, Jun 14, 2009 at 5:33 AM, Avi Kivitya...@redhat.com wrote: I performed tests on two different systems to be sure it isn't related to specific hardware. What is the host cpu type?  On pre-Nehalem/Barcelona processors kvm has poor scalability in mmu intensive workloads like kernel

passing a tape device through

2009-07-03 Thread Kevin Lapagna
Hi, I'm (unsuccessfully) trying to pass-through a tape device, that is connected to the host, to a kvm guest (Windows 2003). The tape device is connected over SAS with a PCI card (aacraid). First I tried to add the device with the following parameter # ... -drive file=/dev/st0,if=scsi

[PATCH] qemu-kvm: remove KVM misreports CPUID hack

2009-07-03 Thread Andre Przywara
This should be no longer necessary. Effectively reverts 143eb2bd043e82bcf353cf82d33c127f06411d82. Signed-off-by: Andre Przywara andre.przyw...@amd.com --- kvm/libkvm/libkvm-x86.c |9 - qemu-kvm-x86.c |9 - 2 files changed, 0 insertions(+), 18 deletions(-) Hi

Re: [Autotest] [PATCH] Add a client-side test qemu_iotests

2009-07-03 Thread Lucas Meneghel Rodrigues
On Fri, 2009-07-03 at 17:18 +0800, Yolkfull Chow wrote: Lucas, do we really need to find those ELFs within the whole disk if they are not in os.environ['PATH']? That's not testsuite's purpose I think. What's your opinion? Sure it's not. My point was just to allow the user to provide an

Re: [DRBD-user] kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-03 Thread Javier Guerra
Lars Ellenberg wrote: On Thu, Jul 02, 2009 at 11:55:05PM +0400, Michael Tokarev wrote: drbd: what's the difference in write pattern on secondary and primary nodes? Why `rotational' flag makes very big difference on secondary and no difference whatsoever on primary? not much. disk

[PATCH] handle AMD microcode MSR

2009-07-03 Thread Andre Przywara
Windows 7 tries to update the CPU's microcode on some processors, so we ignore the MSR write here. The patchlevel register is already handled (returning 0), because the MSR number is the same as Intel's. Signed-off-by: Andre Przywara andre.przyw...@amd.com --- arch/x86/kvm/x86.c |1 + 1

Using MSR load/store areas

2009-07-03 Thread Nipun sehrawat
Hi Everyone, I am trying to use the MSR load and store areas in vmx. I did following: 1. Setting vm_entry_msr_load_count: vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, 1); 2. Setting up vm_entry_msr_load_addr : static struct page *vmx_msr_load; Then in vmx_init() : vmx_msr_load =

[RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Andre Przywara
Hi, currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu option to let the user specify the number of _cores_ the guest should

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Samuel Thibault
Andre Przywara, le Fri 03 Jul 2009 16:41:56 +0200, a écrit : -smp 16 -cpu host,cores=8 That means 8 cores with 2 threads each, thus 16 threads? Ok, that can be later generalized into for instance -smp 16 -cpu host,nodes=2,sockets=2,cores=2 to define 2 NUMA nodes of 2 sockets of 2 cores, each

Re: [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Brian Jackson
Andre Przywara wrote: Hi, currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu option to let the user specify the number of

Re: slow guest performance with build load, looking for ideas

2009-07-03 Thread Mark McLoughlin
On Thu, 2009-07-02 at 12:41 +0300, Avi Kivity wrote: On 07/02/2009 08:48 AM, Avi Kivity wrote: HOST time (make -j12 make -j12 modules) with no guest running real6m50.936s user29m12.051s sys5m50.867s 35

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Paul Brook
currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu option to let the user specify the number of _cores_ the guest should

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: [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Andre Przywara
Brian Jackson wrote: Andre Przywara wrote: currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu option to let the user specify

Re: [DRBD-user] kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-03 Thread Javier Guerra
On Fri, Jul 3, 2009 at 9:00 AM, Lars Ellenberglars.ellenb...@linbit.com wrote: the elevator of the lower level block device (in this case, the kvm virtual block device, or the host real block device) so, the original post (Michael) was running drbd on the KVM guests?? i thought the only

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Andre Przywara
Samuel Thibault wrote: Andre Przywara, le Fri 03 Jul 2009 16:41:56 +0200, a écrit : -smp 16 -cpu host,cores=8 That means 8 cores with 2 threads each, thus 16 threads? No, that meant: 16 vCPUs total with 8 cores per physical packages. I don't have any notion for threads in the current code,

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Andre Przywara
Paul Brook wrote: currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu option to let the user specify the number of _cores_ the

Re: [Qemu-devel] Re: [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Jamie Lokier
Andre Przywara wrote: So what about: -smp 4,cores=2,threads=2[,sockets=1] to inject 4 vCPUs in one package (automatically determined if omitted) with two cores and two threads/core? All parameters except the number of vCPUs would be optional, Why is the number of vCPUs required at all?

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Samuel Thibault
Andre Przywara, le Sat 04 Jul 2009 01:28:43 +0200, a écrit : Maybe one could describe cores, threads, sockets and nodes in -smp and declare the memory topology only in -numa. Mmm, I'd rather just describe both in a -topology option. Samuel -- To unsubscribe from this list: send the line

Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu

2009-07-03 Thread Paul Brook
On Saturday 04 July 2009, Andre Przywara wrote: Paul Brook wrote: currently SMP guests happen to see n vCPUs as n different sockets. Some guests (Windows comes to mind) have license restrictions and refuse to run on multi-socket machines. So lets introduce a cores= parameter to the -cpu