[COMMIT] [viostor] add inx files

2010-09-27 Thread Vadim Rozenfeld
repository: c:/kernel.org/kvm-guest-drivers-windows branch: master commit d77bfe1b950e782b62ffcb010197c6e4001b310c Author: Vadim Rozenfeld vroze...@redhat.com Date: Mon Sep 27 13:03:51 2010 +0200 [viostor] add inx files diff --git a/viostor/WinLH.inx b/viostor/WinLH.inx new file mode

[COMMIT] [viostor] new build scripts

2010-09-27 Thread Vadim Rozenfeld
repository: c:/kernel.org/kvm-guest-drivers-windows branch: master commit af3ee0d3d8fba315b372c75923395c6c164a46d8 Author: Vadim Rozenfeld vroze...@redhat.com Date: Mon Sep 27 13:05:29 2010 +0200 [viostor] new build scripts diff --git a/viostor/buildAll.bat b/viostor/buildAll.bat index

[COMMIT] [viostor] fix flush, shutdown and synchronize cache handlers

2010-09-27 Thread Vadim Rozenfeld
repository: c:/kernel.org/kvm-guest-drivers-windows branch: master commit 69fae3b5cdc84fbd0882d3d32f7deff29c246171 Author: Vadim Rozenfeld vroze...@redhat.com Date: Mon Sep 27 13:08:02 2010 +0200 [viostor] fix flush, shutdown and synchronize cache handlers diff --git a/viostor/SOURCES

Healthcare, Business and Finance mailing/email lists

2010-09-27 Thread Perry teapot
To find out what we have more specifically please contact me at this email address: saveonli...@gmx.com I will be happy to send you a catalog and more details for all our lists. to terminate please send a blank message to purgef...@gmx.com -- To unsubscribe from this list: send

Re: [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error

2010-09-27 Thread Takuya Yoshikawa
(2010/09/02 17:57), Avi Kivity wrote: On 09/02/2010 11:55 AM, Takuya Yoshikawa wrote: The following patch commit 57ce1659316f4ca298919649f9b1b55862ac3826 KVM: x86: In DM_LOWEST, only deliver interrupts to vcpus with enabled LAPIC's ignored the fact that kvm_irq_delivery_to_apic() was also

Re: KVM call minutes for Sept 21

2010-09-27 Thread Avi Kivity
On 09/26/2010 10:25 PM, Joerg Roedel wrote: btw, speaking of drastic changes to nsvm, one thing I'd like to see is the replacement of those kmaps with something like put_user_try() and put_user_catch(). It should be as fast (or faster) than kmaps, and not affect preemptibility. Yes, I

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Avi Kivity
On 09/19/2010 06:28 PM, Avi Kivity wrote: On machines without monitor/mwait we use an sti; hlt sequence to atomically enable interrupts and put the cpu to sleep. The sequence uses the interrupt shadow property of the sti instruction: interrupts are enabled only after the instruction following

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Alexander Graf
On 27.09.2010, at 10:38, Avi Kivity wrote: On 09/19/2010 06:28 PM, Avi Kivity wrote: On machines without monitor/mwait we use an sti; hlt sequence to atomically enable interrupts and put the cpu to sleep. The sequence uses the interrupt shadow property of the sti instruction: interrupts are

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Alexander Graf
On 27.09.2010, at 11:13, Alexander Graf wrote: On 27.09.2010, at 10:38, Avi Kivity wrote: On 09/19/2010 06:28 PM, Avi Kivity wrote: On machines without monitor/mwait we use an sti; hlt sequence to atomically enable interrupts and put the cpu to sleep. The sequence uses the interrupt

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Avi Kivity
On 09/27/2010 11:15 AM, Alexander Graf wrote: Wow, this is incredibly ugly :). Can't we just mask NMIs when the interrupt shadow is active? I plan to do that, for all the code that's out there relying on on STI interrupt shadow masking NMIs. Yeah, that's me writing without thinking.

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Alexander Graf
On 27.09.2010, at 11:17, Avi Kivity wrote: On 09/27/2010 11:15 AM, Alexander Graf wrote: Wow, this is incredibly ugly :). Can't we just mask NMIs when the interrupt shadow is active? I plan to do that, for all the code that's out there relying on on STI interrupt shadow masking

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Avi Kivity
On 09/27/2010 11:22 AM, Alexander Graf wrote: On 27.09.2010, at 11:17, Avi Kivity wrote: On 09/27/2010 11:15 AM, Alexander Graf wrote: Wow, this is incredibly ugly :). Can't we just mask NMIs when the interrupt shadow is active? I plan to do that, for all the code that's out

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Alexander Graf
On 27.09.2010, at 11:27, Avi Kivity wrote: On 09/27/2010 11:22 AM, Alexander Graf wrote: On 27.09.2010, at 11:17, Avi Kivity wrote: On 09/27/2010 11:15 AM, Alexander Graf wrote: Wow, this is incredibly ugly :). Can't we just mask NMIs when the interrupt shadow is active?

Re: [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error

2010-09-27 Thread Avi Kivity
On 09/27/2010 08:51 AM, Takuya Yoshikawa wrote: (2010/09/02 17:57), Avi Kivity wrote: On 09/02/2010 11:55 AM, Takuya Yoshikawa wrote: The following patch commit 57ce1659316f4ca298919649f9b1b55862ac3826 KVM: x86: In DM_LOWEST, only deliver interrupts to vcpus with enabled LAPIC's ignored

Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-27 Thread pradeep
Hi Lucas Tried different combinations for this jumbo test case. it dint work for me. I guess there is a problem while trying to remove ARP entry. ARP entry can be removed from cache using ip and network interface (for ex: eth0) arp -d ip -i eth0 Error which i got: 23:06:14 DEBUG| Running 'arp

Re: [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error

2010-09-27 Thread Alexander Graf
On 27.09.2010, at 11:49, Avi Kivity wrote: On 09/27/2010 08:51 AM, Takuya Yoshikawa wrote: (2010/09/02 17:57), Avi Kivity wrote: On 09/02/2010 11:55 AM, Takuya Yoshikawa wrote: The following patch commit 57ce1659316f4ca298919649f9b1b55862ac3826 KVM: x86: In DM_LOWEST, only deliver

[PATCH 1/7] KVM: MMU: update 'root_hpa' out of loop in PAE shadow path

2010-09-27 Thread Xiao Guangrong
The value of 'vcpu-arch.mmu.pae_root' is not modified, so we can update 'root_hpa' out of the loop Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index

[PATCH 2/7] KVM: MMU: cleanup for error mask set while walk guest page table

2010-09-27 Thread Xiao Guangrong
Small cleanup for set page fault error code Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/paging_tmpl.h | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 2bdd843..a83ff37 100644

[PATCH 3/7] KVM: MMU: set access bit for direct mapping

2010-09-27 Thread Xiao Guangrong
Set access bit while setup up direct page table if it's nonpaing or npt enabled, it's good for CPU's speculate access Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/mmu.c

RE: [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error

2010-09-27 Thread Zhang, Xiantao
Avi Kivity wrote: On 09/27/2010 08:51 AM, Takuya Yoshikawa wrote: (2010/09/02 17:57), Avi Kivity wrote: On 09/02/2010 11:55 AM, Takuya Yoshikawa wrote: The following patch commit 57ce1659316f4ca298919649f9b1b55862ac3826 KVM: x86: In DM_LOWEST, only deliver interrupts to vcpus with

[PATCH 4/7] KVM: MMU: audit: fix vcpu's spte walking

2010-09-27 Thread Xiao Guangrong
After nested nested paging, it may using long mode to shadow 32/PAE paging guest, so this patch fix it Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu_audit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/mmu_audit.c

[PATCH 5/7] KVM: MMU: audit: unregister audit tracepoints before module unloaded

2010-09-27 Thread Xiao Guangrong
fix: Call Trace: [a01e46ba] ? kvm_mmu_pte_write+0x229/0x911 [kvm] [a01c6ba9] ? gfn_to_memslot+0x39/0xa0 [kvm] [a01c6c26] ? mark_page_dirty+0x16/0x2e [kvm] [a01c6d6f] ? kvm_write_guest_page+0x67/0x7f [kvm] [81066fbd] ? local_clock+0x2a/0x3b

[PATCH 6/7] KVM: MMU: audit: introduce audit_printk to cleanup audit code

2010-09-27 Thread Xiao Guangrong
Introduce audit_printk, and record audit point instead audit name Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu_audit.c | 42 ++ 1 files changed, 18 insertions(+), 24 deletions(-) diff --git a/arch/x86/kvm/mmu_audit.c

[PATCH 7/7] KVM: MMU: audit: check whether have unsync sps after root sync

2010-09-27 Thread Xiao Guangrong
After root synced, all unsync sps are synced, this patch add a check to make sure it's no unsync sps in VCPU's page table Xiao Guangrong xiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/mmu.c | 11 +-- arch/x86/kvm/mmu_audit.c | 11 ++- 2 files changed, 19 insertions(+), 3

Re: [PATCH 1/7] KVM: MMU: update 'root_hpa' out of loop in PAE shadow path

2010-09-27 Thread Xiao Guangrong
On 09/27/2010 06:02 PM, Xiao Guangrong wrote: The value of 'vcpu-arch.mmu.pae_root' is not modified, so we can update 'root_hpa' out of the loop Xiao Guangrong xiaoguangr...@cn.fujitsu.com Hi Avi, Marcelo, I'm so sorry that missed Signed-off-by: string in all patches, i'll repost this

Re: [PATCH 1/7] KVM: MMU: update 'root_hpa' out of loop in PAE shadow path

2010-09-27 Thread Avi Kivity
On 09/27/2010 12:14 PM, Xiao Guangrong wrote: On 09/27/2010 06:02 PM, Xiao Guangrong wrote: The value of 'vcpu-arch.mmu.pae_root' is not modified, so we can update 'root_hpa' out of the loop Xiao Guangrongxiaoguangr...@cn.fujitsu.com Hi Avi, Marcelo, I'm so sorry that missed

Re: [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error

2010-09-27 Thread Takuya Yoshikawa
Hi, Isn't this a candidate for 2.6.36? Though ia64 kvm is in experimental stage and may not be working now, compile errors may be bad for other people who just want to compile ia64 linux. Maybe we should make ia64 kvm depend on CONFIG_BROKEN. It has been experimental for quite a while. I

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Joerg Roedel
On Sun, Sep 19, 2010 at 06:28:19PM +0200, Avi Kivity wrote: On machines without monitor/mwait we use an sti; hlt sequence to atomically enable interrupts and put the cpu to sleep. The sequence uses the interrupt shadow property of the sti instruction: interrupts are enabled only after the

[PATCH] KVM test: Make vm.serial_login() work

2010-09-27 Thread Lucas Meneghel Rodrigues
We had our guests configured wrong with regards to serial port setup, in order to have a getty attached to the serial port the order of the kernel arguments has to be: console=tty0 console=ttyS0,115200 instead of: console=ttyS0,115200 console=tty0 Fixing it in all linux guests unattended

Re: [PATCH 3/3] VFIO V4: VFIO driver: Non-privileged user level PCI drivers

2010-09-27 Thread Michael S. Tsirkin
On Wed, Sep 22, 2010 at 02:18:24PM -0700, Tom Lyon wrote: Signed-off-by: Tom Lyon p...@cisco.com Some comments on the pci bits: After going over them for the Nth time - something needs to be done with the rvirt/write tables. I doubt anyone besides me and you has gone over them: one has to

[Autotest] [KVM-AUTOTEST][PATCH V2] Patch to install cygwin and run autotest in windows

2010-09-27 Thread Yogananth Subramanian
Hello Lucas, I like to resubmit this patch, in the previous patch i had hard coded it for doing local installation and had missed the remote installation part. So in this patch i have fixed it, 'cyg_param' take different vlaues for local and remote install, to avoid the error in previous

[RFC PATCH 1/4] net: move announce_self_create to net.c

2010-09-27 Thread Jason Wang
Export and move announce_self_create to net.c in order to be used by model specific announcing function. Signed-off-by: Jason Wang jasow...@redhat.com --- net.c| 31 +++ net.h|1 + savevm.c | 32 3 files changed, 32

[RFC PATCH 2/4] net: Introduce model specific nic announce function

2010-09-27 Thread Jason Wang
This patch introduce a function pointer in NetClientInfo which is called during self announcement to do the model specific mac address announcement. Previous method were kept for the model without its own implementation. Signed-off-by: Jason Wang jasow...@redhat.com --- net.h|2 ++

[RFC PATCH 3/4] virtio-net: Limit the num of uni/multicast mac addresses

2010-09-27 Thread Jason Wang
In order to send gratuitous packet for each mac address, we need to keep track every macaddress after migration which is obviously conflicted with the overload policy currently used in qemu which just forward all packets to guest when it can't record all the macaddress. So we need to limit the num

[RFC PATCH 4/4] virtio-net: implement virtio-net specific announce function

2010-09-27 Thread Jason Wang
This patch tries to announce every mac address for one virtio nic after migration. The primary mac address is announced unconditionally and other macaddress are only announced when no vlan is configurated in guest. For guest with vlan, what we need do is to send tagged gratutious packet, but

[RFC PATCH 0/4] Model specific function for nic announcement

2010-09-27 Thread Jason Wang
This series of patch tries to solve the problem of migration with nics who have multiple mac addresses or vlans. Qemu currently only send gratuitous packet for first mac address, so after migration other mac addresses or vlans were broken. The information of mac addresses and vlans were often

Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-27 Thread Lucas Meneghel Rodrigues
On Mon, 2010-09-27 at 15:20 +0530, pradeep wrote: Hi Lucas Tried different combinations for this jumbo test case. it dint work for me. I guess there is a problem while trying to remove ARP entry. ARP entry can be removed from cache using ip and network interface (for ex: eth0) arp -d ip

Re: [PATCH] KVM test: Make vm.serial_login() work

2010-09-27 Thread Jason Wang
This bug was caused by a defect patch I sent previously. I would pay more attention in the future. Thanks lucas. - Lucas Meneghel Rodrigues l...@redhat.com wrote: We had our guests configured wrong with regards to serial port setup, in order to have a getty attached to the serial port the

[PATCH 0/3] SVM feature support for qemu v3

2010-09-27 Thread Joerg Roedel
Hi, here is the third round of the patches to add svm-features support to qemu. The patches are rebases against latest qemu/master. Other changes since v2: * Made kvm64 the default model only for qemu-versions = 0.14.0 * Removed clean-bits from the phenom cpu-model Feedback

[PATCH 2/3] Set cpuid definition to 0 before initializing it

2010-09-27 Thread Joerg Roedel
This patch cleans the (stack-allocated) cpuid definition to 0 before actually initializing it. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- target-i386/cpuid.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index

[PATCH 1/3] Make kvm64 the default cpu model when kvm_enabled()

2010-09-27 Thread Joerg Roedel
As requested by Alex this patch makes kvm64 the default CPU model when qemu is started with -enable-kvm. This takes only effect for qemu-versions newer or equal to 0.14.0. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- hw/boards.h|1 + hw/pc.c| 21 -

[GIT PULL net-2.6] vhost-net: last minute fix

2010-09-27 Thread Michael S. Tsirkin
David, The following tree includes a last minute bugfix for vhost-net. It is on top of net-2.6. Please merge it for 2.6.36. Thanks! The following changes since commit 2cc6d2bf3d6195fabcf0febc192c01f99519a8f3: ipv6: add a missing unregister_pernet_subsys call (2010-09-26 19:09:25 -0700) are

Re: [PATCH v11 02/17] Add a new struct for device to manipulate external buffer.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- include/linux/netdevice.h | 22

Re: [PATCH v11 03/17] Add a ndo_mp_port_prep pointer to net_device_ops.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com If the driver want to allocate external buffers, then it can export it's capability, as the skb buffer header length, the page length can be DMA, etc. The external buffers owner may

Re: [PATCH v11 04/17]Add a function make external buffer owner to query capability.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: [...] diff --git a/net/core/dev.c b/net/core/dev.c index 264137f..636f11b 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2468,6 +2468,55 @@ void netif_nit_deliver(struct sk_buff *skb) rcu_read_unlock(); } +/*

Re: [PATCH v11 11/17] Add header file for mp device.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com Signed-off-by: Xin Xiaohui xiaohui@intel.com Signed-off-by: Zhao Yu yzhao81...@gmail.com Reviewed-by: Jeff Dike jd...@linux.intel.com --- include/linux/mpassthru.h | 25

Re: [PATCH v11 12/17] Add a kconfig entry and make entry for mp device.

2010-09-27 Thread Ben Hutchings
This patch is in the wrong position in the sequence. It needs to be applied after mpassthru.c is created, not before. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread Avi Kivity
On 09/27/2010 12:31 PM, Joerg Roedel wrote: On Sun, Sep 19, 2010 at 06:28:19PM +0200, Avi Kivity wrote: On machines without monitor/mwait we use an sti; hlt sequence to atomically enable interrupts and put the cpu to sleep. The sequence uses the interrupt shadow property of the sti

Re: KVM call minutes for Sept 21

2010-09-27 Thread Gleb Natapov
On Mon, Sep 27, 2010 at 10:36:57AM +0200, Avi Kivity wrote: On 09/26/2010 10:25 PM, Joerg Roedel wrote: btw, speaking of drastic changes to nsvm, one thing I'd like to see is the replacement of those kmaps with something like put_user_try() and put_user_catch(). It should be as fast

Re: KVM call minutes for Sept 21

2010-09-27 Thread Avi Kivity
On 09/27/2010 04:18 PM, Gleb Natapov wrote: On Mon, Sep 27, 2010 at 10:36:57AM +0200, Avi Kivity wrote: On 09/26/2010 10:25 PM, Joerg Roedel wrote: btw, speaking of drastic changes to nsvm, one thing I'd like to see is the replacement of those kmaps with something like

Re: [PATCH 2/7] KVM: MMU: cleanup for error mask set while walk guest page table

2010-09-27 Thread Avi Kivity
On 09/27/2010 12:03 PM, Xiao Guangrong wrote: Small cleanup for set page fault error code Xiao Guangrongxiaoguangr...@cn.fujitsu.com --- arch/x86/kvm/paging_tmpl.h | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h

Re: [RFC PATCH 0/4] Model specific function for nic announcement

2010-09-27 Thread Michael S. Tsirkin
On Mon, Sep 27, 2010 at 08:50:44PM +0800, Jason Wang wrote: This series of patch tries to solve the problem of migration with nics who have multiple mac addresses or vlans. Qemu currently only send gratuitous packet for first mac address, so after migration other mac addresses or vlans were

Re: [PATCH 1/7] KVM: MMU: update 'root_hpa' out of loop in PAE shadow path

2010-09-27 Thread Avi Kivity
On 09/27/2010 12:14 PM, Xiao Guangrong wrote: On 09/27/2010 06:02 PM, Xiao Guangrong wrote: The value of 'vcpu-arch.mmu.pae_root' is not modified, so we can update 'root_hpa' out of the loop Xiao Guangrongxiaoguangr...@cn.fujitsu.com Hi Avi, Marcelo, I'm so sorry that missed

Re: [PATCH 3/3] Add svm cpuid features

2010-09-27 Thread Avi Kivity
On 09/27/2010 03:16 PM, Joerg Roedel wrote: This patch adds the svm cpuid feature flags to the qemu intialization path. It also adds the svm features available on phenom to its cpu-definition and extends the host cpu type to support all svm features KVM can provide. This should really be all

Re: [PATCH 3/3] Add svm cpuid features

2010-09-27 Thread Avi Kivity
On 09/27/2010 04:58 PM, Avi Kivity wrote: On 09/27/2010 03:16 PM, Joerg Roedel wrote: This patch adds the svm cpuid feature flags to the qemu intialization path. It also adds the svm features available on phenom to its cpu-definition and extends the host cpu type to support all svm features

Re: [PATCH 3/3] Add svm cpuid features

2010-09-27 Thread Roedel, Joerg
On Mon, Sep 27, 2010 at 11:02:23AM -0400, Avi Kivity wrote: On 09/27/2010 04:58 PM, Avi Kivity wrote: On 09/27/2010 03:16 PM, Joerg Roedel wrote: This patch adds the svm cpuid feature flags to the qemu intialization path. It also adds the svm features available on phenom to its

Re: [PATCH 3/3] Add svm cpuid features

2010-09-27 Thread Avi Kivity
On 09/27/2010 05:40 PM, Roedel, Joerg wrote: On Mon, Sep 27, 2010 at 11:02:23AM -0400, Avi Kivity wrote: On 09/27/2010 04:58 PM, Avi Kivity wrote: On 09/27/2010 03:16 PM, Joerg Roedel wrote: This patch adds the svm cpuid feature flags to the qemu intialization path. It also

Re: [PATCH 3/3] VFIO V4: VFIO driver: Non-privileged user level PCI drivers

2010-09-27 Thread Alex Williamson
On Wed, 2010-09-22 at 14:18 -0700, Tom Lyon wrote: +/* + * Pretend we're hardware and tweak the values + * of the *virtual* pci BARs to reflect the hardware + * capabilities + */ +static void vfio_bar_fixup(struct vfio_dev *vdev) +{ + struct pci_dev *pdev = vdev-pdev; + int bar;

Re: [PATCH 3/3] VFIO V4: VFIO driver: Non-privileged user level PCI drivers

2010-09-27 Thread Alex Williamson
On Wed, 2010-09-22 at 14:18 -0700, Tom Lyon wrote: +ssize_t vfio_mem_readwrite( + int write, + struct vfio_dev *vdev, + char __user *buf, + size_t count, + loff_t *ppos) +{ + struct pci_dev *pdev = vdev-pdev; +

Re: [PATCH 3/3] VFIO V4: VFIO driver: Non-privileged user level PCI drivers

2010-09-27 Thread Alex Williamson
On Mon, 2010-09-27 at 13:54 +0200, Michael S. Tsirkin wrote: On Wed, Sep 22, 2010 at 02:18:24PM -0700, Tom Lyon wrote: Signed-off-by: Tom Lyon p...@cisco.com Some comments on the pci bits: After going over them for the Nth time - something needs to be done with the rvirt/write tables.

Re: [PATCH v11 13/17] Add mp(mediate passthru) device.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com The patch add mp(mediate passthru) device, which now based on vhost-net backend driver and provides proto_ops to send/receive guest buffers data from/to guest vitio-net driver.

Re: [PATCH v11 17/17]add two new ioctls for mp device.

2010-09-27 Thread Ben Hutchings
On Sat, 2010-09-25 at 12:27 +0800, xiaohui@intel.com wrote: From: Xin Xiaohui xiaohui@intel.com The patch add two ioctls for mp device. One is for userspace to query how much memory locked to make mp device run smoothly. Another one is for userspace to set how much meory locked it

Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

2010-09-27 Thread H. Peter Anvin
On 09/27/2010 02:27 AM, Avi Kivity wrote: I don't have write permissions for the spec. If you can verify that all existing and future hardware will mask NMI after STI and convince the spec owners to update the specifications, I'm all for it; it's certainly a cleaner solution. I'm

Re: [GIT PULL net-2.6] vhost-net: last minute fix

2010-09-27 Thread David Miller
From: Michael S. Tsirkin m...@redhat.com Date: Mon, 27 Sep 2010 15:34:13 +0200 The following tree includes a last minute bugfix for vhost-net. It is on top of net-2.6. Please merge it for 2.6.36. Pulled, thanks Michael. -- To unsubscribe from this list: send the line unsubscribe kvm in the

KVM call agenda for Sept 28

2010-09-27 Thread Chris Wright
Please send in any agenda items you are interested in covering. thanks, -chris -- 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 http://vger.kernel.org/majordomo-info.html

Re: [stable 2.6.32] instant crash (jump to NULL) with virtio-net, tap, bridge and veth

2010-09-27 Thread Michael Tokarev
Replying to my own, quite old (more than a month old) email, and top-posting as well. I had a chance finally to try another theory with this problem -- the suspect this time was stack overflow. And indeed it looks like the case. I can disable the bridge hooks in /proc/sys/net/bridge/, and the

[PATCH 03/18] KVM test: Remove address_pools.cfg dependency

2010-09-27 Thread Lucas Meneghel Rodrigues
Since the previous patch introduces an automated management mechanism for MAC addresses, let's simplify things a bit by removing address_pools.cfg parsing from the control files, as well as just removing address_pools.cfg.sample. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com ---

[PATCH 01/18] KVM test: Add a new macaddress pool algorithm

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Old method uses the addresses in the config files which could lead serious problem when multiple tests running in different hosts. This patch adds a new macaddress pool algorithm, it generates the mac prefix based on mac address of the host, and fix it to

[PATCH 00/18] Network Patchset v4

2010-09-27 Thread Lucas Meneghel Rodrigues
We are close to the end of this journey. Several little problems were fixed and we are down to some little problems: 1 - jumbo test - tap interface name shouldn't be used to stablish arp static entry, use bridge name instead - need validation from akong and/or jasonwang 2 - vlan subtest - still

[PATCH 02/18] KVM test: Make physical_resources_check to work with MAC management

2010-09-27 Thread Lucas Meneghel Rodrigues
The previous MAC address management breaks up the physical_resources_check test (the test picks up NIC MAC parameters from test parameters). Let's fix it by making it retrieve params from the method VM.get_mac_address() Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com ---

[PATCH 10/18] KVM test: Add a subtest of nic promisc

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com This test mainly covers TCP sent from host to guest and from guest to host with repeatedly turn on/off NIC promiscuous mode. Changes from v1: - Don't abruptly fail the whole test if we get a failure for a single size Signed-off-by: Amos Kong ak...@redhat.com ---

[PATCH 08/18] KVM test: Add basic file transfer test

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com This test is the basic test of transfering file between host and guest. Try to transfer a large file from host to guest, and transfer it back to host, then compare the files by calculate their md5 hash. The default file size is 4000M, scp timeout is 1000s. It

[PATCH 13/18] KVM test: Add a subtest of changing MAC address

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Test steps: 1. Get a new mac from pool, and the old mac addr of guest. 2. Execute the mac_change.sh in guest. 3. Relogin to guest and query the interfaces info by `ifconfig` Changes from v3: - Make sure the old and newly generated MAC addresses are different

[PATCH 05/18] KVM Test: Add nw related functions ping and get_linux_ifname

2010-09-27 Thread Lucas Meneghel Rodrigues
Add nw related functions ping and get_linux_ifname to kvm_test_utils. Changes from v1: - Use None to indicate that the session should be local in raw_ping - Use session.sendline(\003) to send (ctrl+c) signal - Use None to indicate that the session should be local - Fix of coding style

[PATCH 14/18] KVM test: Add a netperf subtest

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Add network load by netperf, server is launched on guest, execute netperf client with different protocols on host. if all clients execute successfully, case will be pass. Test result will be record into result.txt. Now this case only tests with TCP_RR TCP_CRR

[PATCH 18/18] KVM test: Add subtest of testing offload by ethtool

2010-09-27 Thread Lucas Meneghel Rodrigues
The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test. RTL8139 NIC doesn't support TSO, LRO, it's too old, so drop offload test from rtl8139. LRO, GRO are only supported by latest kernel, virtio nic doesn't support receive offloading function. Initialize the callbacks first and execute all the

[PATCH 04/18] KVM test: Add a get_ifname function

2010-09-27 Thread Lucas Meneghel Rodrigues
It's clearer to use 'nic_mode + nic_index + vnc_port' than 'tap0', It's also unique for one guest. Signed-off-by: Amos Kong ak...@redhat.com --- client/tests/kvm/kvm_vm.py | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py

[PATCH 11/18] KVM test: Add a subtest of multicast

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Use 'ping' to test send/recive multicat packets. Flood ping test is also added. Limit guest network as 'bridge' mode, because multicast packets could not be transmitted to guest when using 'user' network. Add join_mcast.py for joining machine into multicast

[PATCH 12/18] KVM test: Add a subtest of pxe

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com This case just snoop tftp packet through tcpdump, it depends on public dhcp server, better to test it through dnsmasq. FIXME: Use dnsmasq for pxe test Signed-off-by: Jason Wang jasow...@redhat.com Signed-off-by: Amos Kong ak...@redhat.com ---

[PATCH 15/18] KVM test: kvm_utils - Add support of check if remote port free

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Signed-off-by: Amos Kong ak...@redhat.com --- client/tests/kvm/kvm_utils.py | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py index 9390393..a2b0a3f 100644

[PATCH 17/18] KVM test: vlan subtest - Replace extra_params '-snapshot' with image_snapshot

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com Framework could not totalise default extra_params and extra_params_vm1 in the following condition, it's difficult to realise when parsing config file or calling get_sub_dict*(). extra_params += ' str1' - case: extra_params_vm1 += str2 Signed-off-by: Amos Kong

[PATCH 16/18] KVM test: Improve vlan subtest

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com This is an enhancement of existed vlan test. Rename the vlan_tag.py to vlan.py, it is more reasonable. . Setup arp from /proc/sys/net/ipv4/conf/all/arp_ignore . Multiple vlans exist simultaneously . Test ping between same and different vlans . Test by TCP data

[PATCH 06/18] KVM test: Add a new subtest ping

2010-09-27 Thread Lucas Meneghel Rodrigues
From: Amos Kong ak...@redhat.com This test use ping to check the virtual nics, it contains two kinds of test: 1. Packet loss ratio test, ping the guest with different size of packets. 2. Stress test, flood ping guest then use ordinary ping to test the network. We could not raise an error when

[PATCH 09/18] KVM test: Add a subtest of load/unload nic driver

2010-09-27 Thread Lucas Meneghel Rodrigues
Repeatedly load/unload nic driver, try to transfer file between guest and host by threads at the same time, and check the md5sum. Changes from v1: - Use a new method to get nic driver name - Use utils.hash_file() to get md5sum Signed-off-by: Amos Kong ak...@redhat.com Signed-off-by: Lucas

[PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-27 Thread Lucas Meneghel Rodrigues
According to different nic model set different MTU for it. And ping from guest to host, to see whether tested size can be received by host. Changes from v3: - The arp entry should be set with the bridge name, not the tap interface name Changes from v2: - Coding style fixes Changes from v1: -

Re: [Autotest] [PATCH 07/18] KVM test: Add a subtest jumbo

2010-09-27 Thread Lucas Meneghel Rodrigues
On Mon, 2010-09-27 at 15:20 +0530, pradeep wrote: Hi Lucas Tried different combinations for this jumbo test case. it dint work for me. I guess there is a problem while trying to remove ARP entry. ARP entry can be removed from cache using ip and network interface (for ex: eth0) arp -d ip

RE: [PATCH v11 00/17] Provide a zero-copy method on KVM virtio-net.

2010-09-27 Thread Xin, Xiaohui
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Xin, Xiaohui Sent: Monday, September 27, 2010 8:45 AM To: Michael S. Tsirkin Cc: net...@vger.kernel.org; kvm@vger.kernel.org; linux-ker...@vger.kernel.org; mi...@elte.hu;

Re: [PATCH 1/7] KVM: MMU: update 'root_hpa' out of loop in PAE shadow path

2010-09-27 Thread Xiao Guangrong
On 09/27/2010 10:39 PM, Avi Kivity wrote: On 09/27/2010 12:14 PM, Xiao Guangrong wrote: On 09/27/2010 06:02 PM, Xiao Guangrong wrote: The value of 'vcpu-arch.mmu.pae_root' is not modified, so we can update 'root_hpa' out of the loop Xiao Guangrongxiaoguangr...@cn.fujitsu.com Hi

Mailing/Email lists for sale

2010-09-27 Thread reginald Lucero
For a free catalog and samples please reply here: saveonli...@gmx.com Send us an email to purgef...@gmx.com we will discontinue from the list # This message is for the named person's use only. It may