Re: USB Host Passthrough BSOD on Windows XP

2010-09-25 Thread Erik Rull
mattia.martine...@gmail.com wrote: Hi. I installed a KVM virtual machine with Windows XP SP3 installed on it with all updates from Windows Update. I setted up an USB device from the host machine to be used on the virtual machine with the command qm set 107 -hostusb 2040:7070 The USB device is

[PATCH 1/2] KVM test: Use -drive to add nic device when possible

2010-09-25 Thread Jason Wang
This patch tries to use -drive to add nic device becuase recent qemu suggest to use it. A nic_extra_params was also introduced to add some advanced params to a nic (currently only availabe for virtio_net) such as mrg_rxbuf. Signed-off-by: Jason Wang jasow...@redhat.com ---

[PATCH 2/2] KVM test: Add vhost-net support

2010-09-25 Thread Jason Wang
Vhost is a kernel-level backend for virtio. This patch add a nic_params named vhost to enable/disable vhost backend. Signed-off-by: Jason Wang jasow...@redhat.com --- client/tests/kvm/kvm_vm.py |7 +-- client/tests/kvm/tests_base.cfg.sample |2 ++ 2 files changed, 7

[PATCH 0/3] Launch other test during migration

2010-09-25 Thread Jason Wang
We could give a further test of migration by launch test during migartion. So the following series implements: - A simple class to run a specified test in the background which could be used to launch other test during migartion. Its design is rather simple and its usage is a little tricky, but it

[PATCH 1/3] KVM Test: Introduce a helper class to run a test in the background

2010-09-25 Thread Jason Wang
Sometimes, we need to run a test when doing operations on a running VM ( such as migrate the vm during its rebooting ). So this patch introduce a simple warpper BackgroundTest to run a specified test in the background through a dedicated thread, it also records the exception raised in the thead

[PATCH 2/3] KVM test: Test reboot during migration

2010-09-25 Thread Jason Wang
This test is simple: it's doing the migration and guest rebooting in the same time and then check the completion of migration and verify the guest state by loggin it again after reboot. Signed-off-by: Jason Wang jasow...@redhat.com --- client/tests/kvm/tests/migration_with_reboot.py | 45

[PATCH 3/3] KVM test: Test the file transfer during migartion

2010-09-25 Thread Jason Wang
This test just do the file transfer from host to guest during migartion in order to check whether the nic/block state could be saved and loaded correctly. Signed-off-by: Jason Wang jasow...@redhat.com --- .../kvm/tests/migration_with_file_transfer.py | 59

Re: [PATCH 1/2] KVM test: Use -drive to add nic device when possible

2010-09-25 Thread Jason Wang
- Markus Armbruster arm...@redhat.com wrote: Jason Wang jasow...@redhat.com writes: This patch tries to use -drive to add nic device becuase recent qemu suggest -device, you mean. Suggest to fix your commit message. Thanks, would fix it. to use it. A nic_extra_params was also

virtio-blk XFS corruption

2010-09-25 Thread Peter Lieven
Hi all, we experience filesystem corruption using virtio-blk on some guest systems togehter with XFS. We still use qemu-kvm 0.12.4. Does someone remember if there has been a fix submitted meanwhile? It seems that 64-bit Ubuntu LTS 10.04.1 is affected as well as an older openSuse 11.1 system

Re: virtio-blk XFS corruption

2010-09-25 Thread Stefan Hajnoczi
On Sat, Sep 25, 2010 at 2:43 PM, Peter Lieven p...@dlh.net wrote: we experience filesystem corruption using virtio-blk on some guest systems togehter with XFS. We still use qemu-kvm 0.12.4. [...] It seems that 64-bit Ubuntu LTS 10.04.1 is affected as well as an older openSuse 11.1 system

Re: virtio-blk XFS corruption

2010-09-25 Thread Peter Lieven
Am 25.09.2010 um 16:44 schrieb Stefan Hajnoczi: On Sat, Sep 25, 2010 at 2:43 PM, Peter Lieven p...@dlh.net wrote: we experience filesystem corruption using virtio-blk on some guest systems togehter with XFS. We still use qemu-kvm 0.12.4. [...] It seems that 64-bit Ubuntu LTS 10.04.1 is

Re: virtio-blk XFS corruption

2010-09-25 Thread Christoph Hellwig
FYI, qemu 0.12.2 is missing: block: fix sector comparism in multiwrite_req_compare which in the past was very good at triggering XFS guest corruption. Please try with the patch applied or even better latests qemu from git. -- To unsubscribe from this list: send the line unsubscribe kvm

Re: virtio-blk XFS corruption

2010-09-25 Thread Peter Lieven
Am 25.09.2010 um 17:37 schrieb Christoph Hellwig: FYI, qemu 0.12.2 is missing: you mean 0.12.4 not 0.12.2, don't you? block: fix sector comparism in multiwrite_req_compare which in the past was very good at triggering XFS guest corruption. Please try with the patch applied or

Re: [PATCH] support piix PAM registers in KVM

2010-09-25 Thread Kevin O'Connor
On Tue, Sep 21, 2010 at 04:06:01PM -0300, Marcelo Tosatti wrote: On Tue, Sep 21, 2010 at 02:31:42PM +0200, Gleb Natapov wrote: Without this BIOS fails to remap 0xf memory from ROM to RAM so writes to F-segment modify ROM content instead of memory copy. Since QEMU does not reloads ROMs

Re: virtio-blk XFS corruption

2010-09-25 Thread Christoph Hellwig
On Sat, Sep 25, 2010 at 05:40:34PM +0200, Peter Lieven wrote: Am 25.09.2010 um 17:37 schrieb Christoph Hellwig: FYI, qemu 0.12.2 is missing: you mean 0.12.4 not 0.12.2, don't you? Yes, sorry. (but 0.12.2 is of course missing it, too..) which in the past was very good at triggering

Re: virtio-blk XFS corruption

2010-09-25 Thread Peter Lieven
Am 25.09.2010 um 17:58 schrieb Christoph Hellwig: On Sat, Sep 25, 2010 at 05:40:34PM +0200, Peter Lieven wrote: Am 25.09.2010 um 17:37 schrieb Christoph Hellwig: FYI, qemu 0.12.2 is missing: you mean 0.12.4 not 0.12.2, don't you? Yes, sorry. (but 0.12.2 is of course missing it,

Re: virtio-blk XFS corruption

2010-09-25 Thread Peter Lieven
Am 25.09.2010 um 17:58 schrieb Christoph Hellwig: On Sat, Sep 25, 2010 at 05:40:34PM +0200, Peter Lieven wrote: Am 25.09.2010 um 17:37 schrieb Christoph Hellwig: FYI, qemu 0.12.2 is missing: you mean 0.12.4 not 0.12.2, don't you? Yes, sorry. (but 0.12.2 is of course missing it,

[V2 PATCH 1/2] KVM test: Use -device to add nic device when possible

2010-09-25 Thread Jason Wang
This patch tries to use -device to add nic device becuase recent qemu suggest to use it. A nic_extra_params was also introduced to add some advanced params to a nic (currently only availabe for virtio_net) such as mrg_rxbuf. Signed-off-by: Jason Wang jasow...@redhat.com ---

[V2 PATCH 2/2] KVM test: Add vhost-net support

2010-09-25 Thread Jason Wang
Vhost is a kernel-level backend for virtio. This patch add a nic_params named vhost to enable/disable vhost backend. Signed-off-by: Jason Wang jasow...@redhat.com --- client/tests/kvm/kvm_vm.py |7 +-- client/tests/kvm/tests_base.cfg.sample |2 ++ 2 files changed, 7