sporadic virtio_blk errors and vcpu not ready for apic_round_robin

2009-02-06 Thread Michael Tokarev
Hello Since quite some time, I'm seeing sporadic I/O errors in guests running ontop of virtio_blk devices. The information I have is quite bare: guest usually shows something like: Feb 6 02:47:34 hobbit kernel: end_request: I/O error, dev vda, sector 9786968 Feb 6 02:47:34 hobbit kernel:

Re: copyless virtio net thoughts?

2009-02-06 Thread Avi Kivity
Herbert Xu wrote: On Thu, Feb 05, 2009 at 02:37:07PM +0200, Avi Kivity wrote: I believe that copyless networking is absolutely essential. I used to think it was important, but I'm now of the opinion that it's quite useless for virtualisation as it stands. For transmit, copyless is

[PATCH 0/3] [RESEND] kvm: qemu: several fixes for device assignment

2009-02-06 Thread Han, Weidong
This patchset had been sent to kvm mailing list few months ago. I suspect they were ignored. Now I rebased them and resend again. This patchset removes useless paramter, fixes leak of ioperm data of assigned device, and fixes double removal of assigned device. Regards, Weidong-- To unsubscribe

[PATCH 2/3] [RESEND] kvm: qemu: fix leak of ioperm data

2009-02-06 Thread Han, Weidong
implement kvm_remove_ioperm_data to free ioperm data, and call it in free_assigned_device to avoid leak. Signed-off-by: Weidong Han weidong@intel.com --- qemu/hw/device-assignment.c |2 ++ qemu/qemu-kvm.c | 17 + qemu/qemu-kvm.h |1 + 3 files

[PATCH 1/3] [RESEND] kvm: qemu: remove the useless parameter

2009-02-06 Thread Han, Weidong
should pass assigned_dev-dev to ipf_map_irq in while loop, the parameter PCIDevice *d is useless. And rename assign_dev_update_irq to assigned_dev_update_irqs() because it updates irq on all assigned devices. Signed-off-by: Weidong Han weidong@intel.com --- qemu/hw/device-assignment.c |4

[PATCH 3/3] [RESEND] kvm: qemu: fix double removal of assigned device

2009-02-06 Thread Han, Weidong
free_assigned_device removes the assigned device from the list adev_head, needn't remove it in assigned_dev_update_irqs. Signed-off-by: Weidong Han weidong@intel.com --- qemu/hw/device-assignment.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

The arg os_type in class DistroInstaller has problem?

2009-02-06 Thread Yingfu Zhou
Hi, Anybody meet this problem: Unable to complete install 'exceptions.AttributeError 'DistroInstaller' object has no attribute '_os_type' Traceback (most recent call last): File /usr/share/virt-manager/virtManager/create.py, line 627, in do_install dom = guest.start_install(False, meter

Re: kvm-83

2009-02-06 Thread Dustin Kirkland
On Thu, Jan 22, 2009 at 5:24 PM, Gioacchino Mendola gioacchino.mend...@gmail.com wrote: but I have some problems, since guest freezes at boot time (at very early stage since it does not print any message on the attached vnc) and /var/log/messages sports the following error message: kvm:

fedora-10 install hang

2009-02-06 Thread Farkas Levente
hi, with kvm-83 on a - host: - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz - Intel S3000AHV - 8GB RAM - CentOS-5.2 - kernel-2.6.18-92.1.22.el5 x86_64 64bit fedora-10 i386 install hang at : - detecting hardware... waiting for haedware to initialize...

Re: [PATCH 1/3] [RESEND] kvm: qemu: remove the useless parameter

2009-02-06 Thread Mark McLoughlin
On Fri, 2009-02-06 at 16:58 +0800, Han, Weidong wrote: should pass assigned_dev-dev to ipf_map_irq in while loop, the parameter PCIDevice *d is useless. And rename assign_dev_update_irq to assigned_dev_update_irqs() because it updates irq on all assigned devices. Signed-off-by: Weidong Han

Re: [PATCH 2/3] [RESEND] kvm: qemu: fix leak of ioperm data

2009-02-06 Thread Mark McLoughlin
On Fri, 2009-02-06 at 16:58 +0800, Han, Weidong wrote: implement kvm_remove_ioperm_data to free ioperm data, and call it in free_assigned_device to avoid leak. Signed-off-by: Weidong Han weidong@intel.com Acked-by: Mark McLoughlin mar...@redhat.com Cheers, Mark. -- To unsubscribe from

Re: [PATCH 3/3] [RESEND] kvm: qemu: fix double removal of assigned device

2009-02-06 Thread Mark McLoughlin
On Fri, 2009-02-06 at 16:58 +0800, Han, Weidong wrote: free_assigned_device removes the assigned device from the list adev_head, needn't remove it in assigned_dev_update_irqs. Signed-off-by: Weidong Han weidong@intel.com Acked-by: Mark McLoughlin mar...@redhat.com Cheers, Mark. -- To

Re: kvm-83

2009-02-06 Thread Paul Collins
Dustin Kirkland kirkl...@canonical.com writes: On Thu, Jan 22, 2009 at 5:24 PM, Gioacchino Mendola gioacchino.mend...@gmail.com wrote: but I have some problems, since guest freezes at boot time (at very early stage since it does not print any message on the attached vnc) and

Re: [PATCH 0/3][v2] Fix racy in kvm_free_assigned_irq

2009-02-06 Thread Mark McLoughlin
On Tue, 2009-01-06 at 11:21 +0200, Avi Kivity wrote: Sheng Yang wrote: Hi Avi I just add a comment for kvm_free_assigned_irq(). The other things are all the same as the patchset you have reviewed. Applied, thanks. These would make sense for 2.6.29, right? I just saw the oops

Re: [PATCH][RFC] qemu:virtio-net: Use TUNSETTXFILTER for MAC filtering

2009-02-06 Thread Anthony Liguori
Alex Williamson wrote: Now that virtio-net knows what packets the guest wants to see, we can start moving the filtering down the stack. This patch adds an interface to set the software filter in the tap device. It's fairly limited, but we can back it up with our own filtering if it overflows.

Re: copyless virtio net thoughts?

2009-02-06 Thread Avi Kivity
Herbert Xu wrote: On Fri, Feb 06, 2009 at 10:46:37AM +0200, Avi Kivity wrote: The guest's block layer is copyless. The host block layer is -- this far from being copyless -- all we need is preadv()/pwritev() or to replace our thread pool implementation in qemu with linux-aio.

Re: [Qemu-devel] [PATCH][RFC] qemu:virtio-net: Use TUNSETTXFILTER for MAC filtering

2009-02-06 Thread Paul Brook
On Friday 06 February 2009, Alex Williamson wrote: Now that virtio-net knows what packets the guest wants to see, we can start moving the filtering down the stack. This patch adds an interface to set the software filter in the tap device. It's fairly limited, but we can back it up with our

[PATCH 2/2] show hypervisor information on sysfs

2009-02-06 Thread Glauber Costa
It is useful to easily grab information about whether or not we're running on top of a hypervisor. And in case affirmative, which one. This patch shows it in /sys/hypervisor (and as a site effect, allow it to be directly selectable). Signed-off-by: Glauber Costa glom...@redhat.com ---

[PATCH 0/2] Show hypervisor information on sysfs

2009-02-06 Thread Glauber Costa
This patch is quite close to the last one I've sent. Only this one goes with chris' suggestion of showing it on /sys/hypervisor. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 1/2] tell cpuinfo if we're running on top of KVM

2009-02-06 Thread Glauber Costa
KVM has a specific cpuid signature, for a long time now. It's currently used in the kernel to advertise the possible availability of paravirt functions, but it's safe to assume that any reasonably recent kvm hypervisor will sign cpuid this way, regardless of any pv capability. Signed-off-by:

Re: Accessing guest memory from the host

2009-02-06 Thread Gioacchino Mendola
cpu_physical_memory_read(target_phys_addr_t addr, uint8_t *buf, int len) requires as input parameter the physical? memory address... My goal is to be able to scan the --entire-- guest kernel memory in search for particular content patterns. How would you proceed? Where can I get start and end

sysenter msrs dont vm exit on kvm-83

2009-02-06 Thread Steven Stovall
i'm running kvm-83 wrapped around a linux-2.6.24 x86. i dont see vm exits for rdmsr or wrmsr on the sysenter msrs (0x174 - 0x176) but do for the range (0x200 - 0x2ff). it does *not* seem to involve the msr bitmap (it doesnt seem to matter whether the msr bitmap is set or not set, enabled or

Re: [Qemu-devel] [PATCH][RFC] qemu:virtio-net: Use TUNSETTXFILTER for MAC filtering

2009-02-06 Thread Alex Williamson
Hi Paul, On Fri, 2009-02-06 at 15:12 +, Paul Brook wrote: On Friday 06 February 2009, Alex Williamson wrote: Now that virtio-net knows what packets the guest wants to see, we can start moving the filtering down the stack. This patch adds an interface to set the software filter in the

[PATCH 1/4] Define new channels for quietboot and fastboot

2009-02-06 Thread Cory Fields
Provide a way to send quietboot and fastboot to bios Signed-off-by: Cory Fields f...@atlastechnologiesinc.com --- qemu/hw/fw_cfg.c |2 ++ qemu/hw/fw_cfg.h |2 ++ qemu/sysemu.h|2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qemu/hw/fw_cfg.c

[PATCH 0/4] Arguments to skip boot menu and to hide bios output

2009-02-06 Thread Cory Fields
This patchset creates new commandline arguments -quietboot and -fastboot -quietboot silences normal text output from the bios and vgabios. I rarely care to see this output and it looks much cleaner when the first thing shown in a KVM window is init or splash (or the dreaded Windows logo)

[PATCH 2/4] add args for fastboot and quietboot

2009-02-06 Thread Cory Fields
-fastboot is implied by -boot -kernel or -quietboot because if specified, there's no need to show a menu -quietboot must be explicitly called Signed-off-by: Cory Fields f...@atlastechnologiesinc.com --- qemu/vl.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-)

[PATCH 4/4] probe for quietboot and fastboot in rombios

2009-02-06 Thread Cory Fields
If fastboot is set skip Press f12 for boot menu If quietboot is set silence all text output Errors should still be shown Probes are split into separate functions to make the asm easier. Signed-off-by: Cory Fields f...@atlastechnologiesinc.com --- bios/rombios.c | 80

Re: fedora-10 install hang

2009-02-06 Thread Bill Davidsen
Farkas Levente wrote: hi, with kvm-83 on a - host: - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz - Intel S3000AHV - 8GB RAM - CentOS-5.2 - kernel-2.6.18-92.1.22.el5 x86_64 64bit fedora-10 i386 install hang at : - detecting hardware... waiting for haedware