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 gu

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

2009-01-19 Thread David Miller
From: Mark McLoughlin 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 useful for sim

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 hibernate/shutdown/screendump/savevm/senkeys/sy

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 > Date: Sun May 18 11:36:42 2008 +0300 > > kvm: qemu: regenerate bios for ACPI _SUN method > > Signed-off-by: Avi Kivity > > diff --git a/qemu/pc-bios/bios.bin

howto control VM from outside (shutdown...)

2009-01-19 Thread Paolo Pedaletti
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 hibernate/shutdown/screendump/savevm/senkeys/system_powerdown(/migrate?)

virtio net interface packet counters weirdness

2009-01-19 Thread Fabio Coatti
Hi all, we are seeing a strange behaviour with net virtio packets counter. Basically, ifconfig counters (both TX and RX) wraps up at 4096 Mb. I'm wondering if this can cause or be a symptom fo some problem, also given the fact that we are seeing some (and most annoying) network problems (described

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

2009-01-19 Thread Avi Kivity
Sam Ravnborg wrote: With the exported headers we at least have a clear definition what part of the headers are actually exported. So what we have now is a much better base to cut off from. And there is plenty of room for improvements but it requires someone with understanding of the kernel side

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 to > suit each architecture. > > Signed-off-by: Avi Kivity Looked through the patch and everything look

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

2009-01-19 Thread Sam Ravnborg
> > 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 are so-ca

[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 diff --git a/qemu/configure b/qemu/configure index ff4a462..107699a 100755 --- a/qemu/configure +++ b/qemu/configure @@ -1642,7 +1642,7 @@ disable_cpu_emulatio

[ 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=detail&atid=893831&aid=2519737&group_id=180599 Please note that this message will contain a full copy of the comme

[ 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=detail&atid=893831&aid=2519737&group_id=180599 Please note that this message will contain a full copy of the comme

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 Modified Paths: -- trunk/hw/acpi.c Modified: trunk/

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 are

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

2009-01-19 Thread Ingo Molnar
* Avi Kivity wrote: > Ingo Molnar wrote: >> * Avi Kivity wrote: >> >> >>> Kconfig symbols are not available in userspace, and are not stripped by >>> headers-install. Avoid their use by adding #defines in to >>> suit each architecture. >>> >>> >> looks good - you will push this via th

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

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

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

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

[ 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=detail&atid=893831&aid=2519737&group_id=180599 Please note that this message will contain a full copy of the comme

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

[ 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=detail&atid=893831&aid=2519737&group_id=180599 Please note that this message will contain a full copy

[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 to suit each architecture. Signed-off-by: Avi Kivity --- arch/ia64/include/asm/kvm.h |4 arch/x86/include/asm/kvm.h |7 +++ include/linux/kvm.h

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

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 aro

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
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 bonnieresu

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 op

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

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 enabl

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 Acked-by: Mark McLoughlin Cheers, Mark. -- To unsubscribe from this list: send the line "u

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 an

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 i

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

2009-01-19 Thread Mark McLoughlin
Hi Dave, On Sun, 2009-01-18 at 22:05 -0800, David Miller wrote: > From: Alex Williamson > Date: Fri, 16 Jan 2009 14:13:12 -0700 > > > This series enables setting the virtio-net device MAC address, adds > > infrastructure for the new control virtqueue, and makes use of it > > to support set_rx_mo