Re: [libvirt] [PATCH v2 3/3] libxl: add tunnelled migration support

2017-02-13 Thread Jim Fehlig
On 02/07/2017 05:35 PM, Joao Martins wrote: From: Bob Liu Tunnelled migration doesn't require any extra network connections beside the libvirt daemon. It's capable of strong encryption and the default option of openstack-nova. This patch adds the tunnelled

Re: [libvirt] [PATCH v2 2/3] libxl: streamline top-level migrate functions

2017-02-13 Thread Jim Fehlig
On 02/07/2017 05:35 PM, Joao Martins wrote: This allows us to reuse a single function for both tunnelled and non-tunnelled variants. Signed-off-by: Joao Martins --- New in v2 --- src/libxl/libxl_driver.c | 36 +++- 1 file changed, 27

[libvirt] [PATCH 1/2] util: storage: split function for JSON backing volume parsing in two

2017-02-13 Thread Tomáš Golembiovský
Split virStorageSourceParseBackingJSON into two functions so that the core can be reused by other functions. The new function called virStorageSourceParseBackingJSONInternal accepts virJSONValuePtr. Signed-off-by: Tomáš Golembiovský --- src/util/virstoragefile.c | 35

[libvirt] [PATCH 2/2] util: storage: add JSON backing volume parser 'raw' block driver

2017-02-13 Thread Tomáš Golembiovský
The 'raw' block driver in Qemu is not directly interesting from libvirt's perspective, but it can be layered above some other block drivers and this may be interesting for the user. The patch adds support for the 'raw' block driver. The driver is treated simply as a pass-through and child driver

[libvirt] [PATCH 0/2] Add support for 'raw' block driver to Qemu JSON backend parsing code

2017-02-13 Thread Tomáš Golembiovský
The raw driver is not very interesting on its own but it can be layered on top of other block drivers. New parameters that allow using only part of the underlying file/device were recently added to Qemu. This is useful e.g. to directly access partitions inside a disk image or disks inside an

[libvirt] [PATCH] valgrind: add suppression for bash memory leak

2017-02-13 Thread Tomáš Golembiovský
Add suppression for memory leak in bash observerd with bash 4.4.011 on Arch Linux. Signed-off-by: Tomáš Golembiovský --- tests/.valgrind.supp | 9 + 1 file changed, 9 insertions(+) diff --git a/tests/.valgrind.supp b/tests/.valgrind.supp index d4fef857b..d474d63e9

[libvirt] [PATCH] qemu: Set umask before calling mknod()

2017-02-13 Thread Andrea Bolognani
When we populate the private /dev that's going to be used by an isolated QEMU process, we take care all metadata matches what's in the top-level namespace: in particular, we copy the file permissions directly. However, since the permissions passed to mknod() are still affected by the active

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Marc-André Lureau
Hi - Original Message - > On Mon, Feb 13, 2017 at 08:08:20AM -0500, Marc-André Lureau wrote: > > Hi > > > > - Original Message - > > > On Mon, Feb 13, 2017 at 07:19:04AM -0500, Marc-André Lureau wrote: > > > > Hi > > > > > > > > - Original Message - > > > > > On Mon, Feb

Re: [libvirt] [PATCH] libxl: implement virDomainObjCheckIsActive

2017-02-13 Thread Jim Fehlig
Sagar Ghuge wrote: > Hi Jim, > > Thank you for replying. I am planning to participate in GSoC'17 and > this is my first patch towards it. This is from Byte sized task which > I picked up and trying to solve it. Ah, yes, this one

Re: [libvirt] [v4 0/9] Support cache tune in libvirt

2017-02-13 Thread Marcelo Tosatti
On Mon, Feb 13, 2017 at 03:42:04PM +0800, Eli Qiao wrote: > > > L3data:0=0xff00;... > > > L3code:0=0xff00;... > > > > > > * Would you please help to test if the functions work. > > > > Setting up CDP machine. > > > > Unrelated: > > > > Found a bug: > > > > The code should scan for all

Re: [libvirt] [PATCH] qemu: Allow empty script path to

2017-02-13 Thread Michal Privoznik
On 02/02/2017 06:12 PM, Daniel P. Berrange wrote: > On Thu, Feb 02, 2017 at 04:55:29PM +0100, Kashyap Chamarthy wrote: >> On Thu, Feb 02, 2017 at 03:29:15PM +, Daniel P. Berrange wrote: >>> On Thu, Feb 02, 2017 at 04:21:39PM +0100, Michal Privoznik wrote: On 02/02/2017 02:56 PM, Daniel P.

Re: [libvirt] [PATCH 7/9] perf: add page_faults_maj software perf event support

2017-02-13 Thread John Ferlan
On 02/13/2017 01:49 AM, Nitesh Konkar wrote: > > > > On Fri, Feb 10, 2017 at 3:22 AM, John Ferlan > wrote: > > > > On 01/27/2017 06:01 AM, Nitesh Konkar wrote: > > This patch adds support and documentation > > for the

Re: [libvirt] [PATCH 1/9] perf: add cpu_clock software perf event support

2017-02-13 Thread John Ferlan
On 02/13/2017 03:01 AM, Nitesh Konkar wrote: > > > On Fri, Feb 10, 2017 at 3:10 AM, John Ferlan > wrote: > > > > On 01/27/2017 06:01 AM, Nitesh Konkar wrote: > > This patch adds support and documentation for > > the cpu_clock perf

Re: [libvirt] [RFC] Substitute poll by epoll in virEventPollRunOnce

2017-02-13 Thread Roman Bogorodskiy
Daniel P. Berrange wrote: > > 2) Are ifdef an acceptable solution to epoll avaliability issues? > > There are quite a large number of ifdefs in your patch below. > > I think it could be worth having a separate vireventepoll.c > for the epoll impl. Then choose to compile vireventpoll.c vs >

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Daniel P. Berrange
On Mon, Feb 13, 2017 at 08:08:20AM -0500, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Mon, Feb 13, 2017 at 07:19:04AM -0500, Marc-André Lureau wrote: > > > Hi > > > > > > - Original Message - > > > > On Mon, Feb 13, 2017 at 03:51:48PM +0400,

Re: [libvirt] [PATCH] docs: document bhyve e1000 support

2017-02-13 Thread Roman Bogorodskiy
Erik Skultety wrote: > On Sun, Feb 12, 2017 at 08:44:59PM +0400, Roman Bogorodskiy wrote: > > Roman Bogorodskiy wrote: > > > > > * Add bhyve e1000 support entry to release nodes > > ^ > > Oops, should be 'notes'. > > > > > * Update the

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Marc-André Lureau
Hi - Original Message - > On Mon, Feb 13, 2017 at 07:19:04AM -0500, Marc-André Lureau wrote: > > Hi > > > > - Original Message - > > > On Mon, Feb 13, 2017 at 03:51:48PM +0400, marcandre.lur...@redhat.com > > > wrote: > > > > From: Marc-André Lureau

Re: [libvirt] [PATCH] network: don't use dhcp-authoritative on static networks

2017-02-13 Thread Martin Wilck
Laine, Daniel, On Thu, 2017-01-05 at 16:32 +0100, Martin Wilck wrote: > On Sun, 2016-12-18 at 20:37 -0500, Laine Stump wrote: > > > > > > > On 12/16/2016 11:58 AM, Martin Wilck wrote: > > > "Static" DHCP networks are those where no dynamic DHCP range is > > > defined, only a list of host

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Daniel P. Berrange
On Mon, Feb 13, 2017 at 07:19:04AM -0500, Marc-André Lureau wrote: > Hi > > - Original Message - > > On Mon, Feb 13, 2017 at 03:51:48PM +0400, marcandre.lur...@redhat.com wrote: > > > From: Marc-André Lureau > > > > > > I am working on a WIP series to add

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Marc-André Lureau
Hi - Original Message - > On Mon, Feb 13, 2017 at 03:51:48PM +0400, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau > > > > I am working on a WIP series to add QEMU Spice/virgl rendernode option. > > Since rendernodes are not stable across

Re: [libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread Daniel P. Berrange
On Mon, Feb 13, 2017 at 03:51:48PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > I am working on a WIP series to add QEMU Spice/virgl rendernode option. > Since rendernodes are not stable across reboots, I propose that QEMU > accepts also a

[libvirt] [PATCH] RFC: qemu: add spice/virgl rendernode

2017-02-13 Thread marcandre . lureau
From: Marc-André Lureau I am working on a WIP series to add QEMU Spice/virgl rendernode option. Since rendernodes are not stable across reboots, I propose that QEMU accepts also a PCI address (other bus types may be added in the future). This is how I translated it

[libvirt] [PATCH RESEND] Interface: return appropriate status for bridge device

2017-02-13 Thread Lin Ma
In function udevInterfaceIsActive, The current design relies on the sys attribute 'operstate' to determine whether the interface is active. For the device node of virtual network(say virbr0), There is already a dummy tap device to maintain a fixed mac on it, So it's available and its status

Re: [libvirt] [PATCH] docs: document bhyve e1000 support

2017-02-13 Thread Erik Skultety
On Sun, Feb 12, 2017 at 08:44:59PM +0400, Roman Bogorodskiy wrote: > Roman Bogorodskiy wrote: > > > * Add bhyve e1000 support entry to release nodes > ^ > Oops, should be 'notes'. > > > * Update the bhyve driver page with usage sample > > ---

Re: [libvirt] [PATCH 1/9] perf: add cpu_clock software perf event support

2017-02-13 Thread Nitesh Konkar
On Fri, Feb 10, 2017 at 3:10 AM, John Ferlan wrote: > > > On 01/27/2017 06:01 AM, Nitesh Konkar wrote: > > This patch adds support and documentation for > > the cpu_clock perf event. > > > > Signed-off-by: Nitesh Konkar > > --- > >