[PATCH] kvm: qemu: fix qemu_send_packet

2009-01-19 Thread Avi Kivity
From: Mark McLoughlin mar...@redhat.com KVM's qemu_send_packet() has a return value, qemu's doesn't. Signed-off-by: Mark McLoughlin mar...@redhat.com Signed-off-by: Avi Kivity a...@redhat.com diff --git a/qemu/net.c b/qemu/net.c index f9b239f..9841197 100644 --- a/qemu/net.c +++ b/qemu/net.c @@

[PATCH] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

2009-01-19 Thread Avi Kivity
From: Avi Kivity a...@redhat.com -- To unsubscribe from this list: send the line unsubscribe kvm-commits in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] KVM: Userspace controlled irq routing

2009-01-19 Thread Avi Kivity
From: Avi Kivity a...@redhat.com Currently KVM has a static routing from GSI numbers to interrupts (namely, 0-15 are mapped 1:1 to both PIC and IOAPIC, and 16:23 are mapped 1:1 to the IOAPIC). This is insufficient for several reasons: - HPET requires non 1:1 mapping for the timer interrupt -

Re: [PATCH 5/5] virtio_net: Add support for VLAN filtering in the hypervisor

2009-01-19 Thread Mark McLoughlin
Hi Alex, On Fri, 2009-01-16 at 14:13 -0700, Alex Williamson wrote: VLAN filtering allows the hypervisor to drop packets from VLANs that we're not a part of, further reducing the number of extraneous packets recieved. This makes use of the VLAN virtqueue command class. The ENABLE command is

Re: [PATCH 1/5] virtio_net: Allow setting the MAC address of the NIC

2009-01-19 Thread Mark McLoughlin
On Fri, 2009-01-16 at 14:13 -0700, Alex Williamson wrote: Many physical NICs let the OS re-program the hardware MAC address. Virtual NICs should allow this too. Signed-off-by: Alex Williamson alex.william...@hp.com Acked-by: Mark McLoughlin mar...@redhat.com Cheers, Mark. -- To

Re: [PATCH 2/5] virtio_net: Add a virtqueue for outbound control commands

2009-01-19 Thread Mark McLoughlin
On Fri, 2009-01-16 at 14:13 -0700, Alex Williamson wrote: This will be used for RX mode, MAC filter table, VLAN filtering, etc... The control transaction consists of one or more out sg entries and one or more in sg entries. The first out entry contains a header defining the class and

Re: [PATCH 3/5] virtio_net: Add a set_rx_mode interface

2009-01-19 Thread Mark McLoughlin
On Fri, 2009-01-16 at 14:13 -0700, Alex Williamson wrote: Make use of the RX_MODE control virtqueue class to enable the set_rx_mode netdev interface. This allows us to selectively enable/disable promiscuous and allmulti mode so we don't see packets we don't want. We'll automatically enable

Re: [PATCH 4/5] virtio_net: Add a MAC filter table

2009-01-19 Thread Mark McLoughlin
On Fri, 2009-01-16 at 14:13 -0700, Alex Williamson wrote: Make use of the MAC_TABLE control virtqueue class to support a MAC filter table. The size of the filter table defaults to 16 entries and can be adjusted via the mac_entries module parameter. Note, the original hardware address does not

Re: [PATCH 0/7] qemu:virtio-net: Add MAC and VLAN filtering

2009-01-19 Thread Mark McLoughlin
On Fri, 2009-01-16 at 14:09 -0700, Alex Williamson wrote: This series adds the ability for the guest to set the virtio-net device MAC address, a new control virtqueue for setting configuration data from the guest, and new interfaces making use of the control virtqueue for setting RX mode

Re: XP guests sluggish after around 1 week of uptime

2009-01-19 Thread Avi Kivity
jmandawg wrote: It's definitely some kind of Disk IO problem, I can't even copy a 700MB file on that guest without waiting a lng time. Running bonnie on my linux guest shows considerable slow down in disk performance. Results after a fresh Reboot of the Host: r...@wserver:~# cat

Re: XP guests sluggish after around 1 week of uptime

2009-01-19 Thread Avi Kivity
jmandawg wrote: Ok, it started doing it again, and I actually just rebooted the host on Friday Morning. Here are the outputs: procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si sobibo in cs us sy id wa 0 1204

Re: XP guests sluggish after around 1 week of uptime

2009-01-19 Thread Avi Kivity
(re-add k...@vger) jmandawg wrote: -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Monday, January 19, 2009 7:06 AM To: jmandawg Cc: kvm@vger.kernel.org Subject: Re: XP guests sluggish after around 1 week of uptime There is a lot of wait time (last column, wrapped

RE: XP guests sluggish after around 1 week of uptime

2009-01-19 Thread jmandawg
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Monday, January 19, 2009 7:46 AM To: jmandawg Cc: KVM list Subject: Re: XP guests sluggish after around 1 week of uptime (re-add k...@vger) Software RAID or hardware RAID? I think the root cause is the RAID

[PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Avi Kivity
Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in asm/kvm.h to suit each architecture. Signed-off-by: Avi Kivity a...@redhat.com --- arch/ia64/include/asm/kvm.h |4 arch/x86/include/asm/kvm.h |7 +++

[ kvm-Bugs-2519737 ] DHCP/NAT: Vista fails to get IP from NAT engine

2009-01-19 Thread SourceForge.net
Bugs item #2519737, was opened at 2009-01-19 15:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2519737group_id=180599 Please note that this message will contain a full copy of

[ kvm-Bugs-2519737 ] DHCP/NAT: Vista fails to get IP from NAT engine

2009-01-19 Thread SourceForge.net
Bugs item #2519737, was opened at 2009-01-19 15:07 Message generated for change (Comment added) made by technologov You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2519737group_id=180599 Please note that this message will contain a full copy of the comment

Re: XP guests sluggish after around 1 week of uptime

2009-01-19 Thread Avi Kivity
jmandawg wrote: Does the LVM logical volume size need to be equal the guest disk size exactly? It can be a larger. In fact, I recommend making it larger, because if it is smaller even by a small amount, data loss is likely. -- error compiling committee.c: too many arguments to function

Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Ingo Molnar
* Avi Kivity a...@redhat.com wrote: Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in asm/kvm.h to suit each architecture. Signed-off-by: Avi Kivity a...@redhat.com --- arch/ia64/include/asm/kvm.h |4

Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity a...@redhat.com wrote: Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in asm/kvm.h to suit each architecture. looks good - you will push this via the KVM tree, right?

Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Ingo Molnar
* Avi Kivity a...@redhat.com wrote: Ingo Molnar wrote: * Avi Kivity a...@redhat.com wrote: Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in asm/kvm.h to suit each architecture. looks good - you will

Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Avi Kivity
Ingo Molnar wrote: btw., would be nice to somehow untangle consciously-exported interface definitions from kernel side bits, and standardize these feature/capability flags like __KVM_HAVE_IOAPIC, etc. Right now we have this body of 75,000 lines of code spread out in 600+ header files that

RE: [PATCH] Always return latest pmsts instead of the old one.

2009-01-19 Thread Zhang, Xiantao
Attached the new patch, please check. Xiantao Subject: Always return latest pmsts instead of the old one. It may lead to the issue when booting windows guests with acpi=1 if return the old pmsts. Signed-off-by: Xiantao Zhang xiantao.zh...@intel.com Modified Paths: --

[ kvm-Bugs-2519737 ] DHCP/NAT: Vista fails to get IP from NAT engine

2009-01-19 Thread SourceForge.net
Bugs item #2519737, was opened at 2009-01-19 15:07 Message generated for change (Comment added) made by technologov You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2519737group_id=180599 Please note that this message will contain a full copy of the comment

[PATCH]: Trivial qemu/configure fix

2009-01-19 Thread Chris Lalancette
If kvm is *not* detected, then the qemu/configure script gets upset. Add some quotes to make it happier. Signed-off-by: Chris Lalancette clala...@redhat.com diff --git a/qemu/configure b/qemu/configure index ff4a462..107699a 100755 --- a/qemu/configure +++ b/qemu/configure @@ -1642,7 +1642,7 @@

Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

2009-01-19 Thread Sam Ravnborg
On Mon, Jan 19, 2009 at 03:00:50PM +0200, Avi Kivity wrote: Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in asm/kvm.h to suit each architecture. Signed-off-by: Avi Kivity a...@redhat.com Looked through the patch

Re: Commit d6469f30 breaks Vista guest

2009-01-19 Thread Guido Günther
On Tue, Nov 18, 2008 at 07:48:04AM -0800, walt wrote: commit d6469f30cc25d3ead7305ec8ccc6a98352227e81 Author: Avi Kivity a...@qumranet.com Date: Sun May 18 11:36:42 2008 +0300 kvm: qemu: regenerate bios for ACPI _SUN method Signed-off-by: Avi Kivity a...@qumranet.com diff

Re: howto control VM from outside (shutdown...)

2009-01-19 Thread David Mair
Paolo Pedaletti wrote: Ciao, the question was posted here: http://www.linux-kvm.com/content/daemonize-vs-monitor-commands The original post asked about gracefully shutting down KVM guest using scripts When I shutdown the host machine, I want to

Re: [PATCH 0/5] virtio_net: Add MAC and VLAN filtering

2009-01-19 Thread David Miller
From: Mark McLoughlin mar...@redhat.com Date: Mon, 19 Jan 2009 08:30:31 + virtio_net: add link status handling Allow the host to inform us that the link is down by adding a VIRTIO_NET_F_STATUS which indicates that device status is available in virtio_net config. This is currently

Re: [PATCH 0/7] qemu:virtio-net: Add MAC and VLAN filtering

2009-01-19 Thread Anthony Liguori
Any comments Rusty? I'm waiting for input on the kernel bits to apply the QEMU side of this. Regards, Anthony Liguori Alex Williamson wrote: This series adds the ability for the guest to set the virtio-net device MAC address, a new control virtqueue for setting configuration data from the

RE: [PATCH 7/9] powerpc/kvm: Add E500 core emulation

2009-01-19 Thread Liu Yu
-Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Liu Yu-B13201 Sent: Monday, January 19, 2009 6:55 PM To: Hollis Blanchard Cc: qemu-de...@nongnu.org; kvm-ppc@vger.kernel.org Subject: RE: [PATCH 7/9] powerpc/kvm: Add E500

RE: [PATCH 9/9] powerpc/kvm: Add MPC85xx board support

2009-01-19 Thread Liu Yu
-Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Hollis Blanchard Sent: Saturday, January 17, 2009 2:10 AM To: Liu Yu-B13201 Cc: qemu-de...@nongnu.org; kvm-ppc@vger.kernel.org Subject: RE: [PATCH 9/9] powerpc/kvm: Add