Re: [RFC Patch 03/12] IXGBE: Add sysfs interface for Qemu to migrate VF status in the PF driver

2015-10-25 Thread Lan, Tianyu
On 10/22/2015 4:45 AM, Alexander Duyck wrote: +/* Record states hold by PF */ +memcpy(&state->vf_data, &adapter->vfinfo[vfn], sizeof(struct vf_data_storage)); + +vf_shift = vfn % 32; +reg_offset = vfn / 32; + +reg = IXGBE_READ_REG(hw, IXGBE_VFTE(reg_offset)); +reg &= ~(1

Re: sanitizing kvmtool

2015-10-25 Thread Dmitry Vyukov
On Thu, Oct 22, 2015 at 1:07 AM, Sasha Levin wrote: > On 10/19/2015 11:15 AM, Dmitry Vyukov wrote: >> On Mon, Oct 19, 2015 at 5:08 PM, Sasha Levin wrote: >>> > On 10/19/2015 10:47 AM, Dmitry Vyukov wrote: > >>> Right, the memory areas that are accessed both by the hypervisor and > >>> th

Re: sanitizing kvmtool

2015-10-25 Thread Paolo Bonzini
On 21/10/2015 19:07, Sasha Levin wrote: > On 10/19/2015 11:15 AM, Dmitry Vyukov wrote: >> But still: if result of a racy read is passed to guest, that can leak >> arbitrary host data into guest. > > I see what you're saying. I don't... how can it leak arbitrary host data? The memcpy cannot wri

Re: sanitizing kvmtool

2015-10-25 Thread Sasha Levin
On 10/25/2015 11:19 AM, Paolo Bonzini wrote: > > > On 21/10/2015 19:07, Sasha Levin wrote: >> On 10/19/2015 11:15 AM, Dmitry Vyukov wrote: >>> But still: if result of a racy read is passed to guest, that can leak >>> arbitrary host data into guest. >> >> I see what you're saying. > > I don't...

[Bug 102301] Shutting down a Windowvs 10 virtual machine (with VGA passthrough) causes a hard crash, every time

2015-10-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=102301 Balázs László Batári changed: What|Removed |Added CC||b...@bayi.hu --- Comment #2 from

Re: [PATCH v2 0/3] target-i386: save/restore vcpu's TSC rate during migration

2015-10-25 Thread haozhong . zhang
On Fri, Oct 23, 2015 at 12:45:13PM -0200, Eduardo Habkost wrote: > On Fri, Oct 23, 2015 at 10:27:27AM +0800, Haozhong Zhang wrote: > > On Thu, Oct 22, 2015 at 04:45:21PM -0200, Eduardo Habkost wrote: > > > On Tue, Oct 20, 2015 at 03:22:51PM +0800, Haozhong Zhang wrote: > > > > This patchset enables

Re: [PATCH v2 3/3] target-i386: load the migrated vcpu's TSC rate

2015-10-25 Thread haozhong . zhang
On Fri, Oct 23, 2015 at 12:58:02PM -0200, Eduardo Habkost wrote: > On Fri, Oct 23, 2015 at 11:14:48AM +0800, Haozhong Zhang wrote: > > On Thu, Oct 22, 2015 at 04:11:37PM -0200, Eduardo Habkost wrote: > > > On Tue, Oct 20, 2015 at 03:22:54PM +0800, Haozhong Zhang wrote: > > > > Set vcpu's TSC rate t

[kvm-unit-tests PATCH] KVM: VMX: add tests for MSR_IA32_DEBUGCTLMSR register

2015-10-25 Thread Jian Zhou
Test bit 0(LBR), bit 1(BTF) and bit 11(FREEZE_LBRS_ON_PMI) of MSR_IA32_DEBUGCTLMSR register. Bit 11 depends on bit 0, so I tested five combinations: (1) bit 0 (2) bit 1 (3) bit 0 | bit 1 (4) bit 0 | bit 11 (5) bit 0 | bit 1 | bit 11 Pentium4, Atom and Skylake are not defined in Qemu. I have tested

[GIT PULL] Please pull my kvm-ppc-next branch

2015-10-25 Thread Paul Mackerras
Paolo, Here is my current patch queue for KVM on PPC. There's nothing much in the way of new features this time; it's mostly bug fixes, plus Nikunj has implemented support for KVM_CAP_NR_MEMSLOTS. These are intended for the "next" branch of the KVM tree. Please pull. Thanks, Paul. The followi

Re: [PATCH] KVM: PPC: Implement extension to report number of memslots

2015-10-25 Thread Paul Mackerras
On Fri, Oct 16, 2015 at 08:41:31AM +0200, Thomas Huth wrote: > Yes, we'll likely need this soon! 32 slots are not enough... Would anyone object if I raised the limit for PPC to 512 slots? Would that cause problems on embedded PPC, for instance? Paul. -- To unsubscribe from this list: send the lin

Re: [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-25 Thread Lan Tianyu
On 2015年10月24日 02:36, Alexander Duyck wrote: > I was thinking about it and I am pretty sure the dummy write approach is > problematic at best. Specifically the issue is that while you are > performing a dummy write you risk pulling in descriptors for data that > hasn't been dummy written to yet.