Re: [Qemu-devel] [PATCH 0/5] xen: add Intel IGD passthrough support

2014-02-26 Thread Zhang, Yang Z
Zhang, Yang Z wrote on 2014-02-21: > From: Yang Zhang > > The following patches are ported from Xen Qemu-traditional branch > which are adding Intel IGD passthrough supporting to Qemu upstream. > > To pass through IGD to guest, user need to add following lines in Xen > config file: gfx_passthru=

Re: [Qemu-devel] [PATCH RESEND] CODING_STYLE: Section about mixed declarations

2014-02-26 Thread Markus Armbruster
Eduardo Habkost writes: > We had an unwritten rule about declarations having to be at beginning of > blocks. Make it a written rule. > > Signed-off-by: Eduardo Habkost > Reviewed-by: Stefan Weil > --- > Changes v2: > * s/be at beginning/be at the beginning/ > --- > CODING_STYLE | 7 +++ >

Re: [Qemu-devel] [RFC PATCH 0/7] PSCI v0.2 support for KVM ARM/ARM64

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > Recentely patches have been posted for in-kernel emulation of PSCI v0.2 > http://www.spinics.net/lists/arm-kernel/msg305467.html > This patchset adds the QEMU side changes for providing PSCI v0.2 to VM. > > Pranavkumar Sawargaonkar (7):

Re: [Qemu-devel] [RFC PATCH 1/7] linux-headers: Update KVM headers from v3.14-rc3

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > Syncup KVM related linux headers from v3.14-rc3. > > Signed-off-by: Pranavkumar Sawargaonkar > Signed-off-by: Anup Patel > --- > linux-headers/asm-arm/kvm.h | 63 ++- > linux-headers/asm-arm64/k

Re: [Qemu-devel] [RFC PATCH 2/7] target-arm: Try X-Gene Potenza target type for KVM Aarch64

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > QEMU Aarch64 tries various target types in kvm_arm_get_host_cpu_features() > to determine perferred VCPU target type and VCPU features. > > This patch adds target type KVM_ARM_TARGET_XGENE_POTENZA to cpus_to_try[] > of kvm_arm_get_host_c

Re: [Qemu-devel] [RFC PATCH 3/7] target-arm: Handle exit reason KVM_EXIT_SYSTEM_EVENT

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > In-kernel PSCI v0.2 emulation of KVM ARM/ARM64 forwards SYSTEM_OFF > and SYSTEM_RESET function calls to QEMU using KVM_EXIT_SYSTEM_EVENT > exit reason. > > This patch updates kvm_arch_handle_exit() to handle KVM_EXIT_SYSTEM_EVENT > from

Re: [Qemu-devel] [RFC PATCH 5/7] target-arm: Enable KVM_ARM_VCPU_PSCI_0_2 feature when possible

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > Latest linux kernel supports in-kernel emulation of PSCI v0.2 but > to enable it we need to select KVM_ARM_VCPU_PSCI_0_2 feature using > KVM_ARM_VCPU_INIT ioctl. > > Also, we can use KVM_ARM_VCPU_PSCI_0_2 feature for VCPU only when > lin

Re: [Qemu-devel] [RFC PATCH 4/7] target-arm: Provide PSCI v0.2 constants to generic QEMU code

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > Provide versions of the KVM PSCI v0.2 constants to non-KVM code; > this will allow us to avoid an ifdef in boards which set up a > PSCI v0.2 node in the device tree. > > Signed-off-by: Pranavkumar Sawargaonkar > Signed-off-by: Anup Pate

Re: [Qemu-devel] [RFC PATCH 6/7] hw/arm/virt: Use PSCI v0.2 function IDs when kernel supports its

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > If we have in-kernel emulation of PSCI v0.2 for KVM ARM/ARM64 then > we enable PSCI v0.2 for each VCPU at the time of VCPU init hence we > need to provide PSCI v0.2 function IDs via generated DTB. > > This patch updates generated DTB to

Re: [Qemu-devel] [RFC PATCH 7/7] target-arm: Hacky implementation of kvm_arch_reset_vcpu() for KVM ARM64

2014-02-26 Thread Pranavkumar Sawargaonkar
On 27 February 2014 12:21, Pranavkumar Sawargaonkar wrote: > We need to "Feed the kernel back its initial register state" using KVM > ioctls for KVM ARM64 (just like KVM ARM). This means we need to save > the "initial register state" in kvm_arch_init_vcpu() which is not the > case for KVM ARM64 ri

Re: [Qemu-devel] [PATCH v2] modules: Fix building with --enable-modules

2014-02-26 Thread Markus Armbruster
Fam Zheng writes: > Compiling util/modules.c with modules enabled fails now. > > Fix it by including qemu-common.h before #ifdef testing in module.c. > > Signed-off-by: Fam Zheng > --- > util/module.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util/module.c b/util/

Re: [Qemu-devel] [PATCH v5 3/6] vl: allow customizing the class of /machine

2014-02-26 Thread Markus Armbruster
Alexey Kardashevskiy writes: > On 02/21/2014 09:30 PM, Paolo Bonzini wrote: >> Il 21/02/2014 04:04, Alexey Kardashevskiy ha scritto: >>> On 02/21/2014 12:50 AM, Alexey Kardashevskiy wrote: > From: Paolo Bonzini > > This is a first step towards QOMifying /machine. > > Sig

Re: [Qemu-devel] [PATCH v2] qemu_file: use fwrite() correctly

2014-02-26 Thread Markus Armbruster
Juan Quintela writes: > fwrite() returns the number of items written. But when there is one > error, it can return a short write. > > In the particular bug that I was tracking, I did a migration to a > read-only filesystem. And it was able to finish the migration > correctly. fwrite() never re

[Qemu-devel] [PATCH] qemu_file: Fix mismerge of "use fwrite() correctly"

2014-02-26 Thread Markus Armbruster
Reviewers accepted v2 of the patch, but what got committed was v1, with the R-bys for v2. This is the v1->v2 followup fix. Signed-off-by: Markus Armbruster --- qemu-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-file.c b/qemu-file.c index f074af1..e5ec798 100644

<    1   2   3