Re: [Qemu-devel] [RFC PATCH 0/4] Clean up TCG tests

2016-08-21 Thread Peter Maydell
On 21 August 2016 at 04:46, Pranith Kumar wrote: > The tests currently fail, so I didn't think it would be appropriate to > hook them up. If the rearrangement is acceptable and once I fix the > tests, I will hook up 'make check' to run these tests. So the question is: how will this work on syste

Re: [Qemu-devel] [PATCH 3/6] hypertrace: [*-user] Add QEMU-side proxy to "guest_hypertrace" event

2016-08-21 Thread Lluís Vilanova
Stefan Hajnoczi writes: > On Fri, Aug 05, 2016 at 06:59:39PM +0200, Lluís Vilanova wrote: >> +static void init_channel(const char *base, const char *suffix, size_t size, >> + char ** path, int *fd, uint64_t **addr) >> +{ >> +*path = g_malloc(strlen(base) + strlen(suffix

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-08-21 Thread Boaz Harrosh
On 08/19/2016 09:30 PM, Ross Zwisler wrote: > On Fri, Aug 19, 2016 at 07:59:29AM -0700, Dan Williams wrote: >> On Fri, Aug 19, 2016 at 4:19 AM, Xiao Guangrong >> wrote: >>> >>> Hi Dan, >>> >>> Recently, Redhat reported that nvml test suite failed on QEMU/KVM, >>> more detailed info please refer to

Re: [Qemu-devel] [PATCH 0/6] hypertrace: Lightweight guest-to-QEMU trace channel

2016-08-21 Thread Lluís Vilanova
Luiz Capitulino writes: > On Thu, 18 Aug 2016 14:53:27 +0100 > Stefan Hajnoczi wrote: >> On Thu, Aug 18, 2016 at 12:22:18PM +0200, Lluís Vilanova wrote: >> > Stefan Hajnoczi writes: >> > >> > > On Fri, Aug 05, 2016 at 06:59:23PM +0200, Lluís Vilanova wrote: >> > >> The hypertrace channel al

Re: [Qemu-devel] [PATCH 0/6] hypertrace: Lightweight guest-to-QEMU trace channel

2016-08-21 Thread Lluís Vilanova
Stefan Hajnoczi writes: > On Fri, Aug 05, 2016 at 06:59:23PM +0200, Lluís Vilanova wrote: >> The hypertrace channel allows guest code to emit events in QEMU (the host) >> using >> its tracing infrastructure (see "docs/trace.txt"). This works in both >> 'system' >> and 'user' modes. That is, hype

[Qemu-devel] TPM passthrough yet Windows 10 advises no compatible TPM found?

2016-08-21 Thread Kelvin Middleton
Hi all, I can (successfully) passthrough my TPM i.e. Windows 10 reports the device under security in device manager, the driver etc all loads fine, however TPM Administrator within Windows advises no compatible TPM devices can be found? Host: Ubuntu 16.04, libvirt 1.3.1, qemu 2.5 (ubuntu stock) AN

[Qemu-devel] [PATCH 0/6] Recovery from network failure during Postcopy Migration

2016-08-21 Thread Md Haris Iqbal
Final Report Link : https://harisphnx.github.io Usage : Once the network fails, wait for both the sides to error out and go into recovery. This can be understood by the error messages printed at the terminal. Once both the sides are under recovery, the reconnection can be t

[Qemu-devel] [PATCH 4/6] Migration: New bitmap for postcopy migration failure

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 4 +++ migration/migration.c | 4 +++ migration/postcopy-ram.c | 3 ++ migration/ram.c | 73 ++- 4 files changed, 83 insertions(+), 1 deletion(-) diff --git a/i

[Qemu-devel] [PATCH 3/6] Migration: Reconnect network in case of network failure during pc migration (destination)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- hmp-commands.hx | 14 --- hmp.c | 3 +- include/migration/migration.h | 3 ++ migration/migration.c | 97 --- migration/postcopy-ram.c | 9 migration/savevm.c

[Qemu-devel] [PATCH 2/6] migration : General additions for migration recovery

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/qemu-file.h | 1 + migration/migration.c | 3 +++ migration/qemu-file.c | 5 + 3 files changed, 9 insertions(+) diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h index abedd46..56a51b9 100644 --- a/i

[Qemu-devel] [PATCH 5/6] Migration: Recovering pages lost due to n/w failure during pc migration (source)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 5 + migration/migration.c | 2 ++ migration/savevm.c| 5 + 3 files changed, 12 insertions(+) diff --git a/include/migration/migration.h b/include/migration/migration.h index 4e4c0c8..5533832 100644 ---

[Qemu-devel] [PATCH 1/6] Migration: Reconnect network in case of network failure during pc migration (source)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- hmp-commands.hx | 20 +++--- hmp.c | 4 +- include/migration/migration.h | 4 ++ migration/migration.c | 153 +- qapi-schema.json | 16 - qmp-commands.hx

[Qemu-devel] [PATCH 6/6] Migration: Recovering pages lost due to n/w failure during pc migration (destination)

2016-08-21 Thread Md Haris Iqbal
Signed-off-by: Md Haris Iqbal --- include/migration/migration.h | 1 + include/sysemu/sysemu.h | 1 + migration/ram.c | 35 +++ migration/savevm.c| 12 4 files changed, 49 insertions(+) diff --git a/include/migration/

Re: [Qemu-devel] [PATCH 0/6] Recovery from network failure during Postcopy Migration

2016-08-21 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Message-id: 1471813132-13836-1-git-send-email-haris.p...@gmail.com Subject: [Qemu-devel] [PATCH 0/6] Recovery from network failure during Postcopy Migration Type: series === TEST SCRIPT BEGIN === #!

Re: [Qemu-devel] [Qemu-block] [PATCH] atapi: allow 0 transfer bytes for read_cd command

2016-08-21 Thread Hervé Poussineau
Le 18/08/2016 à 16:24, Kevin Wolf a écrit : Hm, which of the paths in cmd_read_cd() does this hit? Is it the one that directly calls ide_atapi_cmd_ok() without doing anything? This is in ide_atapi_cmd, at line: if (cmd->handler && !(cmd->flags & NONDATA)) { handler is cmd_read_cd and flags does

Re: [Qemu-devel] [PATCH v2 2/6] virtio-balloon: make stats virtqueue length 1

2016-08-21 Thread Michael S. Tsirkin
On Fri, Aug 19, 2016 at 04:39:21PM +0300, Roman Kagan wrote: > The protocol for virtio-balloon stats virtqueue doesn't allow more than > one element in the virtqueue. > > So, instead of trying to compensate for guest misbehavior if it sends > new data before the slot has been released by the host,

Re: [Qemu-devel] [PATCH v3] balloon: Fix failure of updating guest memory status

2016-08-21 Thread Michael S. Tsirkin
On Fri, Aug 05, 2016 at 01:36:32PM +0200, Ladi Prosek wrote: > The stats_vq_elem field keeps track of the state of the balloon stats > virtqueue protocol but it wasn't preserved across migrations, resulting > in losing guest memory status updates on the receiving VM. > > This commit adds a new VM

[Qemu-devel] [PATCH] commit: get the overlay node before manipulating the backing chain

2016-08-21 Thread Alberto Garcia
The 'block-commit' command has a 'top' parameter to specify the topmost node from which the data is going to be copied. [E] <- [D] <- [C] <- [B] <- [A] In this case if [C] is the top node then this is the result: [E] <- [B] <- [A] [B] must be modified so its backing image string points to

Re: [Qemu-devel] [libvirt] [RFC] libvirt vGPU QEMU integration

2016-08-21 Thread Neo Jia
On Fri, Aug 19, 2016 at 02:42:27PM +0200, Michal Privoznik wrote: > On 18.08.2016 18:41, Neo Jia wrote: > > Hi libvirt experts, > > Hi, welcome to the list. > > > > > I am starting this email thread to discuss the potential solution / > > proposal of > > integrating vGPU support into libvirt fo

Re: [Qemu-devel] [libvirt] [RFC] libvirt vGPU QEMU integration

2016-08-21 Thread Neo Jia
On Fri, Aug 19, 2016 at 03:22:48PM -0400, Laine Stump wrote: > On 08/18/2016 12:41 PM, Neo Jia wrote: > > Hi libvirt experts, > > > > I am starting this email thread to discuss the potential solution / > > proposal of > > integrating vGPU support into libvirt for QEMU. > > Thanks for the detaile