Re: Time and KVM - best practices

2010-03-22 Thread Dor Laor
On 03/21/2010 01:29 PM, Thomas Løcke wrote: Hey, What is considered best practice when running a KVM host with a mixture of Linux and Windows guests? Currently I have ntpd running on the host, and I start my guests using -rtc base=localhost,clock=host, with an extra -tdf added for Windows

Re: About KVM Forum 2010

2010-03-22 Thread Dor Laor
On 03/17/2010 07:37 AM, kazushi takahashi wrote: Hi all Does anybody know exact important date, such as paper deadline for KVM Forum 2010? It's not yet official and Chris Wright will publish the dates but last we talked it was about asking for pretty simple abstracts (a paragraph or two,

Re: Timedrift in KVM guests after livemigration.

2010-04-18 Thread Dor Laor
On 04/18/2010 02:21 AM, Espen Berg wrote: Den 17.04.2010 22:17, skrev Michael Tokarev: We have three KVM hosts that supports live-migration between them, but one of our problems is time drifting. The three frontends has different CPU frequency and the KVM guests adopt the frequency from the

Re: Timedrift in KVM guests after livemigration.

2010-04-19 Thread Dor Laor
On 04/19/2010 12:29 PM, Gleb Natapov wrote: On Mon, Apr 19, 2010 at 11:21:47AM +0200, Espen Berg wrote: Den 18.04.2010 11:56, skrev Gleb Natapov: That's two different things here: The issue that Espen is reporting is that the hosts have different frequency and guests that relay on the tsc as

Re: [Qemu-devel] [RFC PATCH 00/20] Kemari for KVM v0.1

2010-04-22 Thread Dor Laor
On 04/21/2010 08:57 AM, Yoshiaki Tamura wrote: Hi all, We have been implementing the prototype of Kemari for KVM, and we're sending this message to share what we have now and TODO lists. Hopefully, we would like to get early feedback to keep us in the right direction. Although advanced

Re: [Qemu-devel] [RFC PATCH 00/20] Kemari for KVM v0.1

2010-04-22 Thread Dor Laor
On 04/22/2010 01:35 PM, Yoshiaki Tamura wrote: Dor Laor wrote: On 04/21/2010 08:57 AM, Yoshiaki Tamura wrote: Hi all, We have been implementing the prototype of Kemari for KVM, and we're sending this message to share what we have now and TODO lists. Hopefully, we would like to get early

Re: [Qemu-devel] [RFC PATCH 00/20] Kemari for KVM v0.1

2010-04-22 Thread Dor Laor
On 04/22/2010 04:16 PM, Yoshiaki Tamura wrote: 2010/4/22 Dor Laordl...@redhat.com: On 04/22/2010 01:35 PM, Yoshiaki Tamura wrote: Dor Laor wrote: On 04/21/2010 08:57 AM, Yoshiaki Tamura wrote: Hi all, We have been implementing the prototype of Kemari for KVM, and we're sending

Re: [Qemu-devel] [RFC PATCH 00/20] Kemari for KVM v0.1

2010-04-25 Thread Dor Laor
On 04/23/2010 10:36 AM, Fernando Luis Vázquez Cao wrote: On 04/23/2010 02:17 PM, Yoshiaki Tamura wrote: Dor Laor wrote: [...] Second, even if it wasn't the case, the tsc delta and kvmclock are synchronized as part of the VM state so there is no use of trapping it in the middle. I should

Re: KVM call agenda for Apr 27

2010-04-27 Thread Dor Laor
On 04/27/2010 11:14 AM, Avi Kivity wrote: On 04/27/2010 01:36 AM, Anthony Liguori wrote: A few comments: 1) The problem was not block watermark itself but generating a notification on the watermark threshold. It's a heuristic and should be implemented based on polling block stats. Polling

Re: KVM call agenda for Apr 27

2010-04-27 Thread Dor Laor
On 04/27/2010 11:56 AM, Avi Kivity wrote: On 04/27/2010 11:48 AM, Dor Laor wrote: Here's another option: an nbd-like protocol that remotes all BlockDriver operations except read and write over a unix domain socket. The open operation returns an fd (SCM_RIGHTS strikes again) that is used

Re: KVM call agenda for Apr 27

2010-04-27 Thread Dor Laor
On 04/27/2010 12:22 PM, Avi Kivity wrote: On 04/27/2010 12:08 PM, Dor Laor wrote: On 04/27/2010 11:56 AM, Avi Kivity wrote: On 04/27/2010 11:48 AM, Dor Laor wrote: Here's another option: an nbd-like protocol that remotes all BlockDriver operations except read and write over a unix domain

Re: [PATCH RFC] virtio: put last seen used index into ring itself

2010-05-05 Thread Dor Laor
On 05/05/2010 11:58 PM, Michael S. Tsirkin wrote: Generally, the Host end of the virtio ring doesn't need to see where Guest is up to in consuming the ring. However, to completely understand what's going on from the outside, this information must be exposed. For example, host can reduce the

Re: Copy and paste feature across guest and host

2010-05-27 Thread Dor Laor
On 05/27/2010 12:17 PM, Tomasz Chmielewski wrote: Just installed Fedora13 as guest on KVM. However there is no cross-platform copy and paste feature. I trust I have setup this feature on other guest sometime before. Unfortunately I can't the relevant document. Could you please shed me some

Re: qemu-kvm still unable to load option rom extboot.bin

2009-09-09 Thread Dor Laor
On 09/09/2009 04:47 PM, Lucas Meneghel Rodrigues wrote: Hi folks, seems like we are still facing a build problem on qemu-kvm: The option rom is failing to boot: 09/04 11:12:08 DEBUG|kvm_vm:0384| Running qemu command: /usr/local/autotest/tests/kvm/qemu -name 'vm1' -monitor

Re: kvm network latency, higher with virtio ?

2009-09-16 Thread Dor Laor
On 09/16/2009 10:27 AM, Michael S. Tsirkin wrote: On Tue, Sep 15, 2009 at 05:15:09PM +0200, Luca Bigliardi wrote: Hi, I'm running some tests between two linux instances bridged together. If I try to ping 10 times I obtain the following results: -net nic,model=virtio -net tap : rtt

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-16 Thread Dor Laor
On 09/15/2009 09:58 PM, Jiri Zupka wrote: After a quick review I have the following questions: 1. Why did you implement the guest tool in 'c' and not in python? Python is much simpler and you can share some code with the server. This 'test protocol' would also be easier to understand this

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-16 Thread Dor Laor
On 09/16/2009 04:09 PM, Jiri Zupka wrote: - Dor Laordl...@redhat.com wrote: On 09/15/2009 09:58 PM, Jiri Zupka wrote: After a quick review I have the following questions: 1. Why did you implement the guest tool in 'c' and not in python? Python is much simpler and you can share some

Re: Binary Windows guest drivers are released

2009-09-24 Thread Dor Laor
On 09/24/2009 11:59 PM, Javier Guerra wrote: On Thu, Sep 24, 2009 at 3:38 PM, Kenni Lundke...@kelu.dk wrote: I've done some benchmarking with the drivers on Windows XP SP3 32bit, but it seems like using the VirtIO drivers are slower than the IDE drivers in (almost) all cases. Perhaps I've

Re: [KVM-AUTOTEST PATCH 1/2] Add KSM test

2009-09-30 Thread Dor Laor
On 09/29/2009 05:50 PM, Lucas Meneghel Rodrigues wrote: On Fri, 2009-09-25 at 05:22 -0400, Jiri Zupka wrote: - Dor Laordl...@redhat.com wrote: On 09/16/2009 04:09 PM, Jiri Zupka wrote: - Dor Laordl...@redhat.com wrote: On 09/15/2009 09:58 PM, Jiri Zupka wrote: After a quick

Re: [Autotest] [PATCH] Test 802.1Q vlan of nic

2009-10-19 Thread Dor Laor
On 10/15/2009 11:48 AM, Amos Kong wrote: Test 802.1Q vlan of nic, config it by vconfig command. 1) Create two VMs 2) Setup guests in different vlan by vconfig and test communication by ping using hard-coded ip address 3) Setup guests in same vlan and test communication by ping

Re: Do I set up separate bridges for each guest?

2009-10-20 Thread Dor Laor
On 10/20/2009 04:37 AM, Neil Aggarwal wrote: Hello: I am installing KVM on top of CentOS 5.4 so I can have two guests running on my host. I would like to have the host and guests accessible from my network. Do I set up separate bridges for each guest or would they somehow be shared? If I set

Re: [Autotest] [PATCH] Test 802.1Q vlan of nic

2009-10-21 Thread Dor Laor
On 10/21/2009 03:46 PM, Uri Lublin wrote: On 10/21/2009 12:37 PM, Amos Kong wrote: On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote: - Dor Laordl...@redhat.com wrote: On 10/15/2009 11:48 AM, Amos Kong wrote: For the sake of safety maybe we should start both VMs with

Re: KSM and HugePages

2009-10-24 Thread Dor Laor
On 10/23/2009 08:21 PM, David Martin wrote: Does KSM support HugePages? Reading the Fedora 12 feature list I notice this: Using huge pages for guest memory does have a downside, however - you can no longer swap nor balloon guest memory. However it is unclear to me if that includes KSM. ksm

Re: [Autotest] [KVM-AUTOTEST PATCH 3/7] KVM test: new test timedrift_with_migration

2009-10-27 Thread Dor Laor
On 10/12/2009 05:28 PM, Lucas Meneghel Rodrigues wrote: Hi Michael, I am reviewing your patchset and have just a minor remark to make here: On Wed, Oct 7, 2009 at 2:54 PM, Michael Goldishmgold...@redhat.com wrote: This patch adds a new test that checks the timedrift introduced by migrations.

Re: [RFC] KVM Fault Tolerance: Kemari for KVM

2009-11-12 Thread Dor Laor
On 11/09/2009 05:53 AM, Fernando Luis Vázquez Cao wrote: Hi all, It has been a while coming, but we have finally started work on Kemari's port to KVM. For those not familiar with it, Kemari provides the basic building block to create a virtualization-based fault tolerant machine: a virtual

Re: virtio disk slower than IDE?

2009-11-15 Thread Dor Laor
On 11/14/2009 04:23 PM, Gordan Bobic wrote: I just tried paravirtualized virtio block devices, and my tests show that they are approximately 30% slower than emulated IDE devices. I'm guessing this isn't normal. Is this a known issue or am I likely to have mosconfigured something? I'm using

Re: virtio disk slower than IDE?

2009-11-15 Thread Dor Laor
On 11/15/2009 02:00 PM, Gordan Bobic wrote: Dor Laor wrote: On 11/14/2009 04:23 PM, Gordan Bobic wrote: I just tried paravirtualized virtio block devices, and my tests show that they are approximately 30% slower than emulated IDE devices. I'm guessing this isn't normal. Is this a known issue

Re: [RFC] KVM Fault Tolerance: Kemari for KVM

2009-11-15 Thread Dor Laor
On 11/13/2009 01:48 PM, Yoshiaki Tamura wrote: Hi, Thanks for your comments! Dor Laor wrote: On 11/09/2009 05:53 AM, Fernando Luis Vázquez Cao wrote: Hi all, It has been a while coming, but we have finally started work on Kemari's port to KVM. For those not familiar with it, Kemari provides

Re: [Autotest] [KVM-AUTOTEST PATCH 3/7] KVM test: new test timedrift_with_migration

2009-11-16 Thread Dor Laor
On 10/28/2009 08:54 AM, Michael Goldish wrote: - Dor Laordl...@redhat.com wrote: On 10/12/2009 05:28 PM, Lucas Meneghel Rodrigues wrote: Hi Michael, I am reviewing your patchset and have just a minor remark to make here: On Wed, Oct 7, 2009 at 2:54 PM, Michael

Re: virtio disk slower than IDE?

2009-11-16 Thread Dor Laor
On 11/16/2009 08:11 PM, Charles Duffy wrote: Gordan Bobic wrote: Lastly, do you use cache=wb on qemu? it's just a fun mode, we use cache=off only. I don't see the option being set in the logs, so I'd guess it's whatever qemu-kvm defaults to. You can set this through libvirt by putting an

Re: [Autotest] [KVM-AUTOTEST] KSM-overcommit test v.2 (python version)

2009-11-22 Thread Dor Laor
On 11/17/2009 04:49 PM, Jiri Zupka wrote: Hi, We find a little mistake with ending of allocator.py. Because I send this patch today. I resend whole repaired patch again. It sure is big improvment from the previous. There are still many refactoring to be made to make it more readable.

Re: [Autotest] [KVM-AUTOTEST] KSM-overcommit test v.2 (python version)

2009-11-29 Thread Dor Laor
On 11/26/2009 12:11 PM, Lukáš Doktor wrote: Hello Dor, Thank you for your review. I have few questions about your comments: --- snip --- + stat += Guests memsh = { + for vm in lvms: + if vm.is_dead(): + logging.info(Trying to get informations of death VM: %s + % vm.name) +

Re: [Autotest] [KVM-autotest][RFC] 32/32 PAE bit guest system definition

2009-12-16 Thread Dor Laor
On 12/15/2009 09:04 PM, Lucas Meneghel Rodrigues wrote: On Fri, Dec 11, 2009 at 2:34 PM, Jiri Zupkajzu...@redhat.com wrote: Hello, we write KSM_overcommit test. If we calculate memory for guest we need to know which architecture is Guest. If it is a 32b or 32b with PAE or 64b system. Because

Re: Benchmarking on CentOS 5

2008-06-02 Thread Dor Laor
On Mon, 2008-06-02 at 14:35 +0530, Amit Shah wrote: On Friday 30 May 2008 23:00:41 Farkas Levente wrote: this is out production server at the development department (10-15) people using it so actually if i tell them that i'll stop the host and all guests for max an hour it's acceptable,

Re: [PATCH 1/4] KVM: Report hardware virtualization features

2008-06-22 Thread Dor Laor
On Sun, 2008-06-22 at 09:49 +0300, Avi Kivity wrote: Yang, Sheng wrote: From f02d2ccf01e8671d2da517f14a908d1df1cc42ad Mon Sep 17 00:00:00 2001 From: Sheng Yang [EMAIL PROTECTED] Date: Thu, 19 Jun 2008 18:41:26 +0800 Subject: [PATCH] KVM: Report hardware virtualization features The

Re: [PATCH 2/3] Fix time drift problem under high load when PIT is in use.

2008-06-29 Thread Dor Laor
On Sun, 2008-06-29 at 16:59 +0300, Gleb Natapov wrote: Count the number of interrupts that was lost due to interrupt coalescing and re-inject them back when possible. This fixes time drift problem when pit is used as a time source. Signed-off-by: Gleb Natapov [EMAIL PROTECTED] ---

[PATCH] Fix block mode during halt emulation

2008-06-30 Thread Dor Laor
From d85feaae019bc0abc98a2524369e04d521a78aa8 Mon Sep 17 00:00:00 2001 From: Dor Laor [EMAIL PROTECTED] Date: Mon, 30 Jun 2008 18:22:44 -0400 Subject: [PATCH] Fix block mode hduring halt emulation There is no need to check for pending pit/apic timer, nor pending virq, since all of the check

Re: Sharing variables/memory between host and guest ?

2008-07-12 Thread Dor Laor
Arn wrote: How can one share memory (a few variables not necessarily a page) between host/hypervisor and guest VM ? Since the guest is just a process within the host, there should be existing ways to do this. It's not that straight forward since the host has its pfn (page frame number) while

Re: rtl8139 stop working under high load

2008-07-12 Thread Dor Laor
Farkas Levente wrote: hi, i'm just switch to the use rtl8139 network emulator in kvm-70 for the guests, but under high load it's simple stop working. a reboot or even a service network restart solve the problem, but imho there should have to be some bug in the qemu's rtl8139 code. and there

Re: [ANNOUNCE] kvm-autotest

2008-07-15 Thread Dor Laor
It's definitely worth looking at the autotest server code/samples. There exists code in-tree already to build an deploy kvm via autotest server mode which a single machine can drive the building, installing, creation of guests on N number of clients, directing each guest image to run various

Re: best practices for kvm setup?

2008-07-15 Thread Dor Laor
Rik Theys wrote: Hi, I'm looking into virtualizing some of our servers onto two (or more) physical nodes with either KVM or Xen. What are the 'best practices' for running virtual _servers_ with KVM? Any good/bad experiences with running KVM for virtual servers that have to run for months on

Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-15 Thread Dor Laor
Martin Michlmayr wrote: I installed a Windows XP SP2 guest on a Debian x86_64 host The installation itself went fine but kvm aborts when when XP starts during Windows XP Setup. XP mentions something with intelppm.sys (see the attached screenshot) and kvm says: kvm_run: Unknown error 524

Re: kvm: Unknown error 524, Fail to handle apic access vmexit

2008-07-16 Thread Dor Laor
Yang, Sheng wrote: On Tuesday 15 July 2008 23:19:07 Dor Laor wrote: Martin Michlmayr wrote: I installed a Windows XP SP2 guest on a Debian x86_64 host The installation itself went fine but kvm aborts when when XP starts during Windows XP Setup. XP mentions something with intelppm.sys

Re: kvm guest loops_per_jiffy miscalibration under host load

2008-07-22 Thread Dor Laor
Marcelo Tosatti wrote: On Tue, Jul 22, 2008 at 10:22:00AM +0200, Jan Kiszka wrote: The in-kernel PIT rearms relative to host clock, so the frequency is more reliable (next_expiration = prev_expiration + count). The same happens under plain QEMU: static void

Re: [PATCH 2/2] Remove -tdf

2008-07-22 Thread Dor Laor
Anthony Liguori wrote: The last time I posted the KVM patch series to qemu-devel, the -tdf patch met with some opposition. Since today we implement timer catch-up in the in-kernel PIT and the in-kernel PIT is used by default, it doesn't seem all that valuable to have timer catch-up in

Re: [PATCH 2/2] Remove -tdf

2008-07-24 Thread Dor Laor
Anthony Liguori wrote: Gleb Natapov wrote: On Tue, Jul 22, 2008 at 08:20:41PM -0500, Anthony Liguori wrote: Currently both in-kernel PIT and even the in kernel irqchips are not 100% bullet proof. Of course this code is a hack, Gleb Natapov has send better fix for PIT/RTC to qemu list.

Re: Live Migration, DRBD

2008-07-24 Thread Dor Laor
Kent Borg wrote: I am very happy to discover that KVM does live migration. Now I am figuring out whether it will work for me. What I have in mind is to use DRBD for the file system image. The problem is that during the migration I want to shift the file system access at the moment when the

Re: scsi broken 4GB RAM

2008-07-24 Thread Dor Laor
Martin Maurer wrote: Using IDE boot disk, no problem. Win2008 (64bit) works without any problems - 6 gb ram in the guest. After successful booting IDE, I added a second disk using SCSI: windows see the disk but cannot initialize the disk. So SCSI looks quite unusable if you run windows guest

Re: [PATCH 8/9] kvm: qemu: Drop the mutex while reading from tapfd

2008-07-24 Thread Dor Laor
Mark McLoughlin wrote: The idea here is that with GSO, packets are much larger and we can allow the vcpu threads to e.g. process irq acks during the window where we're reading these packets from the tapfd. Signed-off-by: Mark McLoughlin [EMAIL PROTECTED] --- qemu/vl.c |2 ++ 1 files

Re: [PATCH 3/9] kvm: qemu: Remove virtio_net tx ring-full heuristic

2008-07-24 Thread Dor Laor
Mark McLoughlin wrote: virtio_net tries to guess when it has received a tx notification from the guest whether it indicates that the guest has no more room in the tx ring and it should immediately flush the queued buffers. The heuristic is based on the fact that there are 128 buffer entries in

Re: [patch 0/3] fix PIT injection

2008-07-29 Thread Dor Laor
Marcelo Tosatti wrote: The in-kernel PIT emulation can either inject too many or too few interrupts. While it's an improvement, the in-kernel pit is still not perfect. For example, on pit frequency changes the pending count should be recalculated and matched to the new frequency. I also

Re: [PATCH] reserved-ram for pci-passthrough without VT-d capable hardware

2008-07-30 Thread Dor Laor
Andrea Arcangeli wrote: On Wed, Jul 30, 2008 at 11:50:43AM +0530, Amit Shah wrote: * On Tuesday 29 July 2008 18:47:35 Andi Kleen wrote: I'm not so interested to go there right now, because while this code is useful right now because the majority of systems out there lacks VT-d/iommu, I

Re: Issues while Debugging Windows Kernel running on KVM

2008-08-21 Thread Dor Laor
Can you try http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug You can use windows host as a VM too. Since (in the past) there was a problem with the virtual serial polling you can use -no-kvm and the qemu patch, as described in the wiki. Good luck, Dor. Muppana, Bhaskar wrote: Hi, I am

Re: Reserving CPU resources for a KVM guest

2008-08-23 Thread Dor Laor
Yuksel Gunal wrote: Hi, I have been playing with KVM and was wondering about the following question: is there a resource configuration setting that would enforce a fraction of CPU to be guaranteed for a KVM guest? What I have on mind is something similar to the reservation setting on VMware

Re: paravirtualized windows net driver stop after some days on XP guest

2008-08-26 Thread Dor Laor
Can you please try an update version of the windows drivers? I also added a dummy installer you can use too: http://kvm.qumranet.com/kvmwiki/VirtioWindowsDrivers Regards, Dor Yann Dupont wrote: Hello. I'm using kvm whit great succes for various OS. Very good job. In June I started using

Re: paravirtualized windows net driver for vista does not work on windows 2008 (64-bit)

2008-09-10 Thread Dor Laor
Sorry for that, seems like there where some instructions missing. Since we did not (yet soon) sign the drivers you need to install a certificate workaround manually: There are 2 things to do on 64-bit before installation. 1. Install certificate using installcertificate.bat 2. If Test mode

Re: paravirtualized windows net driver for vista does not work on windows 2008 (64-bit)

2008-09-11 Thread Dor Laor
Maurer] YES, working! Testing again (I already have now a KVM 75, but I assume this does not make any difference here). I followed your instructions, the driver installed without any warning as expected after installing the certificate. The only issue: the connection shows only 100mbit

Re: kvmnet.sys BSOD w/ WinXP...

2008-09-17 Thread Dor Laor
Daniel J Blueman wrote: When using Windows XP 32 installed with TCP/IP and microsoft client networking, I can reproduce an intermittent BSOD [1] with kvmnet.sys 1.0.0 and 1.2.0, by aborting a large data transfer in an application. Since this reproduces with 1.0.0 kvmnet.sys, it looks unrelated

Re: kvm 76 - open /dev/kvm: No such device or address

2008-10-07 Thread Dor Laor
Matias Aguirre wrote: Hi all, Im using 2.6.26.5 kernel and slackware-current distribution. I was compiled the latest 76 version of kvm and when i run kvm i return this error: open /dev/kvm: No such device or address Could not initialize KVM, will disable KVM support The module is already

Re: [Qemu-devel] [RFC] Disk integrity in QEMU

2008-10-12 Thread Dor Laor
Avi Kivity wrote: Chris Wright wrote: I think it's safe to say the perf folks are concerned w/ data integrity first, stable/reproducible results second, and raw performance third. So seeing data cached in host was simply not what they expected. I think write through is sufficient. However

Re: How can I tell KVM is actually using AMD-V virtualization extensions?

2008-10-16 Thread Dor Laor
Veiko Kukk wrote: Hi! My desktop machine is HP dc5750 SFF, CPU is AMD Athlon(tm) 64 X2 Dual Core Processor 4600+, /proc/cpuinfo lists svm flag. I'm using 2.6.27 kernel on FC9, qemu-system-x86_64 info version 0.9.1. How can I be absolutely sure, that my kvm virtual machines are using AMD-V?

Re: kvm XP P2V required ACPI-Standard PC HAL change, keep or revert to ACPI?

2008-10-23 Thread Dor Laor
Jeff Kowalczyk wrote: I'm running a physical-to-virtual Windows XP Dell OEM instance on Ubuntu 8.04.1 kvm-62 with kvm-intel and bridged networking. After early BSOD difficulty with the output of VMWare Converter 3.0.3, I did manage to get the XP P2V instance ready to run under kvm after

Re: MTU on a virtio-net device?

2008-10-23 Thread Dor Laor
Michael Tokarev wrote: Right now (2.6.27), there's no way to change MTU of a virtio-net interface, since the mtu-changing method is not provided. Is there a simple way to add such a beast? It should be a nice easy patch for mtu 4k. You can just implement a 'change_mtu' handler like: static

Re: MTU on a virtio-net device?

2008-10-23 Thread Dor Laor
Michael Tokarev wrote: Dor Laor wrote: Michael Tokarev wrote: Dor Laor wrote: Michael Tokarev wrote: Right now (2.6.27), there's no way to change MTU of a virtio-net interface, since the mtu-changing method is not provided. Is there a simple way to add

Re: can we hope a stable version in the near future?

2008-11-19 Thread Dor Laor
Farkas Levente wrote: Avi Kivity wrote: Farkas Levente wrote: There is the maint/ series on git.kernel.org. It doesn't have formal releases though. do you plan any formal release? and it'd be nice to see the relationship between the current devel tree and the stable

Re: can we hope a stable version in the near future?

2008-11-19 Thread Dor Laor
Farkas Levente wrote: Dor Laor wrote: on the other hand the real question are you plan to somehow stabilize any of the following release in the near future? in the last 1.5 years we wait for this. or you currently not recommend and not plan to use kvm in production? it's also an option

Re: 1-1 mapping of devices without VT-d

2008-12-01 Thread Dor Laor
Passera, Pablo R wrote: Hi everyone, I want to assign a PCI device directly to a VM (PCI passthrough) in a machine that does not have VT-d. I found something related with this in a presentation done at the 2008 KVM Forum called 1-1 mapping and a patch for this at

Re: STOP error with virtio on KVM-79/2.6.18/Win2k3 x64 guest

2008-12-01 Thread Dor Laor
Adrian Schmitz wrote: Sorry for the repost.. I forgot the subject line! Hi, I'm having problems with STOP errors (0x00d1) under KVM-79/2.6.18 whenever I try to use the virtio drivers. This post (http://marc.info/?l=kvmm=121089259211638w=2) describes the issue exactly, except that I'm using a

Re: 1-1 mapping of devices without VT-d

2008-12-01 Thread Dor Laor
Michael Tokarev wrote: Dor Laor wrote: [] Although it had worked for us out of tree, there is no immediate need to pursue it. If anyone would like to nurture these patches he is more than welcome. ps: you also have pv-dma option for Linux guests (same status though). As time goes by most

Re: Virtio network performance problem

2008-12-04 Thread Dor Laor
Adrian Schmitz wrote: On Wed, Dec 03, 2008 at 11:20:08AM -0800, Chris Wedgwood wrote: TSC instability? Is this an SMP guest? Ok, I tried pinning the kvm process to two cores (0,2) on a single socket, but that didn't seem to make any difference for my virtio network

Re: Using signals to communicate two Qemu processes

2008-12-13 Thread Dor Laor
Passera, Pablo R wrote: Hi all, I am trying to communicate two VMs using a virtio driver. Once a data is moved to the driver I want to notify the other Qemu process that there is new data available in the buffer. I was thinking about using linux signals to synchronize both processes

Re: [PATCH] AF_VMCHANNEL address family for guest-host communication.

2008-12-16 Thread Dor Laor
Evgeniy Polyakov wrote: On Tue, Dec 16, 2008 at 08:57:27AM +0200, Gleb Natapov (g...@redhat.com) wrote: Another approach is to implement that virtio backend with netlink based userspace interface (like using connector or genetlink). This does not differ too much from what you have with

Re: gettimeofday slow in RHEL4 guests

2008-12-29 Thread Dor Laor
Avi Kivity wrote: Marcelo Tosatti wrote: The tsc clock on older Linux 2.6 kernels compensates for lost ticks. The algorithm uses the PIT count (latched) to measure the delay between interrupt generation and handling, and sums that value, on the next interrupt, to the TSC delta. Sheng

Re: [PATCH 3/3] KVM: Reset PIT irq injection logic when the PIT IRQ is unmasked

2009-01-06 Thread Dor Laor
Avi Kivity wrote: Marcelo Tosatti wrote: I'm worried about: - boot guest using local apic timer - reset - boot with pit timer - a zillion interrupts So at the very least, we need a limiter. Or have a new notifier on kvm_pic_reset, instead of simply acking one pending irq? That seems

Re: KVM, Entropy and Windows

2011-02-17 Thread Dor Laor
On 02/17/2011 12:09 PM, Vadim Rozenfeld wrote: On Thu, 2011-02-17 at 11:11 +0200, Avi Kivity wrote: On 02/16/2011 09:54 PM, --[ UxBoD ]-- wrote: Hello all, I believe I am hitting a problem on one of our Windows 2003 KVM guests were I believe it is running out of Entropy and causing SSL

Re: KSM For All Via LD_PRELOAD?

2010-06-09 Thread Dor Laor
On 06/08/2010 09:43 PM, Gordan Bobic wrote: Is this plausible? I'm trying to work out if it's even worth considering this approach to enable all memory used by in a system to be open to KSM page merging, rather than only memory used by specific programs aware of it (e.g. kvm/qemu). Something

Re: KSM For All Via LD_PRELOAD?

2010-06-10 Thread Dor Laor
On 06/09/2010 01:31 PM, Gordan Bobic wrote: On 06/09/2010 09:56 AM, Paolo Bonzini wrote: Or is this too crazy an idea? It should work. Note that the the malloced memory should be aligned in order to get better sharing. Within glibc malloc large blocks are mmaped, so they are automatically

Re: [PATCH] KVM test: Disable HPET on windows timedrift tests

2010-07-04 Thread Dor Laor
On 07/01/2010 07:05 PM, Lucas Meneghel Rodrigues wrote: On Thu, 2010-07-01 at 17:42 +0300, Avi Kivity wrote: On 06/30/2010 06:39 PM, Lucas Meneghel Rodrigues wrote: By default, HPET is enabled on qemu and no time drift mitigation is being made for it. So, add -no-hpet if qemu supports it,

Re: KVM Processor cache size

2010-08-03 Thread Dor Laor
On 08/03/2010 02:36 AM, Anthony Liguori wrote: On 08/02/2010 05:42 PM, Andre Przywara wrote: Anthony Liguori wrote: On 08/02/2010 08:49 AM, Ulrich Drepper wrote: glibc uses the cache size information returned by cpuid to perform optimizations. For instance, copy operations which would pollute

Re: bad O_DIRECT read and write performance with small block sizes with virtio

2010-08-03 Thread Dor Laor
On 08/02/2010 11:50 PM, Stefan Hajnoczi wrote: On Mon, Aug 2, 2010 at 6:46 PM, Anthony Liguorianth...@codemonkey.ws wrote: On 08/02/2010 12:15 PM, John Leach wrote: Hi, I've come across a problem with read and write disk IO performance when using O_DIRECT from within a kvm guest. With

Re: RHEL 4.5 guest virtual network performace

2010-08-16 Thread Dor Laor
On 08/16/2010 10:00 PM, Alex Rixhardson wrote: Hi guys, I have the following configuration: 1. host is RHEL 5.5, 64bit with KVM (version that comes out of the box with RHEL 5.5) 2. two guests: 2a: RHEL 5.5, 32bit, 2b: RHEL 4.5, 64bit If I run iperf between host RHEL 5.5 and guest RHEL 5.5

Re: RHEL 4.5 guest virtual network performace

2010-08-16 Thread Dor Laor
On 08/17/2010 12:22 AM, Alex Rixhardson wrote: Thanks for the suggestion. I tried with the netperf. I ran netserver on host and netperf on RHEL 5.5 and RHEL 4.5 guests. This are the results of 60 seconds long tests: RHEL 4.5 guest: Throughput (10^6bits/sec) = 145.80 At least it bought you

Re: RHEL 4.5 guest virtual network performace

2010-08-16 Thread Dor Laor
On 08/17/2010 12:51 AM, Alex Rixhardson wrote: I tried with 'notsc divider=10' (since it's 64 bit guest), but the results are the still same :-(. The guest is idle at the time of testing. It has 2 CPU and 1024 MB RAM available. Hmm, are you using e1000 or virtio for the 4.5 guest? e1000 should

Re: The HPET issue on Linux

2010-01-06 Thread Dor Laor
On 01/06/2010 12:09 PM, Gleb Natapov wrote: On Wed, Jan 06, 2010 at 05:48:52PM +0800, Sheng Yang wrote: Hi Beth I still found the emulated HPET would result in some boot failure. For example, on my 2.6.30, with HPET enabled, the kernel would fail check_timer(), especially in timer_irq_works().

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/06/2010 05:16 PM, Anthony Liguori wrote: On 01/06/2010 08:48 AM, Dor Laor wrote: On 01/06/2010 04:32 PM, Avi Kivity wrote: On 01/06/2010 04:22 PM, Michael S. Tsirkin wrote: We can probably default -enable-kvm to -cpu host, as long as we explain very carefully that if users wish

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/07/2010 10:18 AM, Avi Kivity wrote: On 01/07/2010 10:03 AM, Dor Laor wrote: We can debate about the exact name/model to represent the Nehalem family, I don't have an issue with that and actually Intel and Amd should define it. AMD and Intel already defined their names (in cat /proc

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/07/2010 11:24 AM, Avi Kivity wrote: On 01/07/2010 11:11 AM, Dor Laor wrote: On 01/07/2010 10:18 AM, Avi Kivity wrote: On 01/07/2010 10:03 AM, Dor Laor wrote: We can debate about the exact name/model to represent the Nehalem family, I don't have an issue with that and actually Intel

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/07/2010 01:39 PM, Anthony Liguori wrote: On 01/07/2010 03:40 AM, Dor Laor wrote: There's no simple solution except to restrict features to what was available on the first processors. What's not simple about the above 4 options? What's a better alternative (that insures users understand

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/07/2010 02:00 PM, Avi Kivity wrote: On 01/07/2010 01:44 PM, Dor Laor wrote: So if you had a 2.6.18 kernel and a 2.6.33 kernel, it may be necessary to say: (2.6.33) qemu -cpu Nehalem,-syscall (2.6.18) qemu -cpu Nehalem Or let qemu do it automatically for you. qemu on 2.6.33 doesn't

Re: [Qemu-devel] cpuid problem in upstream qemu with kvm

2010-01-07 Thread Dor Laor
On 01/07/2010 03:14 PM, Anthony Liguori wrote: On 01/07/2010 06:40 AM, Avi Kivity wrote: On 01/07/2010 02:33 PM, Anthony Liguori wrote: There's another option. Make cpuid information part of live migration protocol, and then support something like -cpu Xeon-3550. We would remember the exact

Re: [Qemu-devel] [PATCH] Add definitions for current cpu models..

2010-01-25 Thread Dor Laor
On 01/21/2010 05:05 PM, Anthony Liguori wrote: On 01/20/2010 07:18 PM, john cooper wrote: Chris Wright wrote: * Daniel P. Berrange (berra...@redhat.com) wrote: To be honest all possible naming schemes for '-cpuname' are just as unfriendly as each other. The only user friendly option is '-cpu

Re: [Qemu-devel] [PATCH] Add definitions for current cpu models..

2010-01-25 Thread Dor Laor
On 01/25/2010 04:21 PM, Anthony Liguori wrote: On 01/25/2010 03:08 AM, Dor Laor wrote: qemu-config.[ch], taking a new command line that parses the argument via QemuOpts, then passing the parsed options to a target-specific function that then builds the table of supported cpus. It should just

Re: [PATCH] [RFC] KVM test: Control files automatic generation to save memory

2010-02-14 Thread Dor Laor
On 02/14/2010 07:07 PM, Michael Goldish wrote: - Lucas Meneghel Rodriguesl...@redhat.com wrote: As our configuration system generates a list of dicts with test parameters, and that list might be potentially *very* large, keeping all this information in memory might be a problem for

Re: Recommended network driver for a windows KVM guest

2010-02-18 Thread Dor Laor
On 02/17/2010 12:51 PM, carlopmart wrote: Hi all, I need to install several windows KVM (rhel5.4 host fully updated) guests for iSCSI boot. iSCSI servers are Solaris/OpenSolaris storage servers and I need to boot windows guests (2008R2 and Win7) using gpxe. Can i use virtio net dirver during

Re: Make QEmu HPET disabled by default for KVM?

2010-03-14 Thread Dor Laor
On 03/14/2010 09:10 AM, Gleb Natapov wrote: On Sun, Mar 14, 2010 at 09:05:50AM +0200, Avi Kivity wrote: On 03/11/2010 09:08 PM, Marcelo Tosatti wrote: I have kept --no-hpet in my setup for months... Any details about the problems? HPET is important to some guests. As Gleb mentioned in

Re: Make QEmu HPET disabled by default for KVM?

2010-03-14 Thread Dor Laor
On 03/14/2010 12:27 PM, Avi Kivity wrote: On 03/14/2010 12:23 PM, Dor Laor wrote: On 03/14/2010 09:10 AM, Gleb Natapov wrote: On Sun, Mar 14, 2010 at 09:05:50AM +0200, Avi Kivity wrote: On 03/11/2010 09:08 PM, Marcelo Tosatti wrote: I have kept --no-hpet in my setup for months... Any

Fwd: [PATCH]: An implementation of HyperV KVP functionality

2010-11-14 Thread Dor Laor
FYI. Long ago we discussed key value approach on top of virtio-serial. Original Message Subject: [PATCH]: An implementation of HyperV KVP functionality Date: Thu, 11 Nov 2010 13:03:10 -0700 From: Ky Srinivasan ksriniva...@novell.com To: de...@driverdev.osuosl.org,

Re: [Qemu-devel] [PATCH] qemu-kvm: introduce cpu_start/cpu_stop commands

2010-11-23 Thread Dor Laor
On 11/23/2010 08:41 AM, Avi Kivity wrote: On 11/23/2010 01:00 AM, Anthony Liguori wrote: qemu-kvm vcpu threads don't response to SIGSTOP/SIGCONT. Instead of teaching them to respond to these signals, introduce monitor commands that stop and start individual vcpus. The purpose of these commands

Re: [Qemu-devel] [PATCH 00/21] Kemari for KVM 0.2

2010-11-29 Thread Dor Laor
On 11/29/2010 06:23 PM, Stefan Hajnoczi wrote: On Mon, Nov 29, 2010 at 3:00 PM, Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2010/11/29 Paul Brookp...@codesourcery.com: If devices incorrectly claim support for live migration, then that should also be fixed, either by removing the

Re: Freezing Windows 2008 x64bit guest

2010-12-13 Thread Dor Laor
On 12/13/2010 09:42 PM, Manfred Heubach wrote: Gleb Natapovglebat redhat.com writes: On Wed, Jul 28, 2010 at 12:53:02AM +0300, Harri Olin wrote: Gleb Natapov wrote: On Wed, Jul 21, 2010 at 09:25:31AM +0300, Harri Olin wrote: Gleb Natapov kirjoitti: On Mon, Jul 19, 2010 at 10:17:02AM

  1   2   3   >