Re: [libvirt] [PATCH v3 0/9] add virDomainGetGuestInfo()

2019-08-23 Thread Daniel Henrique Barboza
Tested the patch series with a ppc64 guest, using upstream QEMU in a Power8 host: $ sudo ./run tools/virsh guestinfo qga-test user.count  : 1 user.0.name : danielhb user.0.login-time   : 1566588366375 os.id   : ubuntu os.name : Ubuntu os.pretty-name  :

Re: [libvirt] [PATCH v3 9/9] virsh: add 'guestinfo' command

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: The 'guestinfo' command uses the new virDomainGetGuestInfo() API to query information about the specified domain and print it out for the user. The output is modeled roughly on the 'domstats' command. Signed-off-by: Jonathon Jongsma ---

Re: [libvirt] [PATCH v3 8/9] qemu: Implement virDomainGetGuestInfo()

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: Iimplements the new guest information API by querying requested information via the guest agent. Signed-off-by: Jonathon Jongsma --- Reviewed-by: Daniel Henrique Barboza Tested-by: Daniel Henrique Barboza src/qemu/qemu_driver.c | 110

Re: [libvirt] [PATCH v3 7/9] qemu: add helper for getting full FSInfo

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: This function adds the complete filesystem information returned by the qemu agent to an array of typed parameters with field names intended to to be returned by virDomainGetGuestInfo() Signed-off-by: Jonathon Jongsma --- Tested-by: Daniel

Re: [libvirt] [PATCH v3 6/9] qemu: add support for new fields in FSInfo

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: Since version 3.0, qemu has returned disk usage statistics in guest-get-fsinfo. And since 3.1, it has returned information about the disk serial number and device node of disks that are targeted by the filesystem. Unfortunately, the public API

Re: [libvirt] [PATCH v3 5/9] qemu: add helper for querying timezone info

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: This function queries timezone information within the guest and adds the information to an array of typed parameters with field names intended to be returned to virDomainGetGuestInfo() Signed-off-by: Jonathon Jongsma --- I spotted two missing

[libvirt] [PATCH] xenconfig: move contents to libxl driver and remove directory

2019-08-23 Thread Jim Fehlig
Signed-off-by: Jim Fehlig --- cfg.mk | 2 +- configure.ac | 2 -- po/POTFILES | 6 ++--- src/Makefile.am | 1 - src/libvirt_xenconfig.syms | 12 --

Re: [libvirt] [PATCH v3 4/9] qemu: add helper function for querying OS info

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: This function queries the guest operating system information and adds the returned information to an array of typed parameters with field names intended to be returned in virDomainGetGuestInfo(). Signed-off-by: Jonathon Jongsma --- Reviewed-by:

Re: [libvirt] [PATCH v3 3/9] qemu: add helper for getting guest users

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: This function fetches the list of logged-in users from the qemu agent and adds them to a list of typed parameters so that they can be used internally in libvirt. Also add some basic tests for the function. Signed-off-by: Jonathon Jongsma

Re: [libvirt] [PATCH v3 2/9] remote: implement virDomainGetGuestInfo

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 1:31 PM, Jonathon Jongsma wrote: Add daemon and client code to serialize/deserialize virDomainGetGuestInfo(). Signed-off-by: Jonathon Jongsma --- Reviewed-by: Daniel Henrique Barboza Tested-by: Daniel Henrique Barboza src/remote/remote_daemon_dispatch.c | 41

Re: [libvirt] [PATCH v3 1/9] lib: add virDomainGetGuestInfo()

2019-08-23 Thread Daniel Henrique Barboza
Flagged a couple of typos that can be fixed by the maintainer when pushing upstream or by in a later version, if a new version is needed. Aside for the typos, LGTM: Reviewed-by: Daniel Henrique Barboza Tested-by: Daniel Henrique Barboza On 8/23/19 1:31 PM, Jonathon Jongsma wrote: This

Re: [libvirt] [PATCH] virsh: Allow graceful console shutdown

2019-08-23 Thread Roman Bolshakov
On Fri, Aug 23, 2019 at 03:33:36PM +0200, Michal Privoznik wrote: > Currently, whenever there's a regular EOF on the console stream > or an error the virStreamAbort() is called regardless. While this > may not actually break anything, we should call virStreamFinish() > to let the daemon know we've

Re: [libvirt] [PATCH v4 27/42] libxl: introduce virtxend daemon

2019-08-23 Thread Daniel P . Berrangé
On Fri, Aug 23, 2019 at 05:11:18PM +, Jim Fehlig wrote: > On 8/8/19 9:10 AM, Daniel P. Berrangé wrote: > > Arguably we could rename the libxl driver to "xen" since it is the > > only xen driver we have these days, and that matches how we expose it > > to users in the URI naming. > > While

Re: [libvirt] [PATCH v4 27/42] libxl: introduce virtxend daemon

2019-08-23 Thread Jim Fehlig
On 8/8/19 9:10 AM, Daniel P. Berrangé wrote: > Arguably we could rename the libxl driver to "xen" since it is the > only xen driver we have these days, and that matches how we expose it > to users in the URI naming. While thinking about this today I realized it is actually quite a rat hole. I

Re: [libvirt] [PATCH v2 7/9] qemu: add helper for getting full FSInfo

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 11:00 AM, Jonathon Jongsma wrote: On Thu, 2019-08-22 at 19:02 -0300, Daniel Henrique Barboza wrote: [...] Hmm, sorry for the sloppiness. I ran these tests multiple times, but apparently after a final rebase, I introduced something that I failed to catch before submitting. Thanks

Re: [libvirt] [PATCH v2 03/16] domain: add rendernode attribute on

2019-08-23 Thread Cole Robinson
On 8/23/19 12:21 PM, Cole Robinson wrote: > From: Marc-André Lureau > > vhost-user-gpu helper may accept --render-node option to specify on > which GPU should the renderning be done. > What does it do if the user doesn't pass one? Pick one itself, or just not use one somehow? If it picks one,

Re: [libvirt] [PATCH v2 02/16] domain: add "vhostuser" attribute to virtio video model

2019-08-23 Thread Cole Robinson
On 8/23/19 12:21 PM, Cole Robinson wrote: > From: Marc-André Lureau > > Accept a new attribute to specify usage of helper process, ex: > > > > > For other devices, we have Which is an attempt to make this more generic. IMO using vhostuser='yes' and is the simplest match to

Re: [libvirt] [PATCH v2 00/16] Add vhost-user-gpu support

2019-08-23 Thread Cole Robinson
On 8/23/19 12:21 PM, Cole Robinson wrote: > v1: https://www.redhat.com/archives/libvir-list/2019-June/msg00102.html > > This is v2 of Marc-André's series with minor changes. I'm not taking over > this series, I just fixed these as part of the patch rebase so I can review > it :) > > Changes

Re: [libvirt] [PATCH v2 01/16] qemu: extract out qemuFetchConfigs from firmware

2019-08-23 Thread Cole Robinson
On 8/23/19 12:21 PM, Cole Robinson wrote: > From: Marc-André Lureau > > The same config files disovery & priority rules are used for > vhost-user backends. > > Signed-off-by: Marc-André Lureau > Signed-off-by: Cole Robinson > --- > src/qemu/Makefile.inc.am | 2 + > src/qemu/qemu_configs.c

[libvirt] [PATCH v3 6/9] qemu: add support for new fields in FSInfo

2019-08-23 Thread Jonathon Jongsma
Since version 3.0, qemu has returned disk usage statistics in guest-get-fsinfo. And since 3.1, it has returned information about the disk serial number and device node of disks that are targeted by the filesystem. Unfortunately, the public API virDomainGetFSInfo() returns the filesystem info

[libvirt] [PATCH v3 8/9] qemu: Implement virDomainGetGuestInfo()

2019-08-23 Thread Jonathon Jongsma
Iimplements the new guest information API by querying requested information via the guest agent. Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_driver.c | 110 + 1 file changed, 110 insertions(+) diff --git a/src/qemu/qemu_driver.c

[libvirt] [PATCH v3 1/9] lib: add virDomainGetGuestInfo()

2019-08-23 Thread Jonathon Jongsma
This API is intended to aggregate several guest agent information queries and is ispired by stats API virDomainListGetStats(). It is anticipated that this information will be provided by a guest agent running within the domain. Signed-off-by: Jonathon Jongsma ---

[libvirt] [PATCH v3 4/9] qemu: add helper function for querying OS info

2019-08-23 Thread Jonathon Jongsma
This function queries the guest operating system information and adds the returned information to an array of typed parameters with field names intended to be returned in virDomainGetGuestInfo(). Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_agent.c | 53 ++

[libvirt] [PATCH v3 9/9] virsh: add 'guestinfo' command

2019-08-23 Thread Jonathon Jongsma
The 'guestinfo' command uses the new virDomainGetGuestInfo() API to query information about the specified domain and print it out for the user. The output is modeled roughly on the 'domstats' command. Signed-off-by: Jonathon Jongsma --- tools/virsh-domain.c | 85

[libvirt] [PATCH v3 3/9] qemu: add helper for getting guest users

2019-08-23 Thread Jonathon Jongsma
This function fetches the list of logged-in users from the qemu agent and adds them to a list of typed parameters so that they can be used internally in libvirt. Also add some basic tests for the function. Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_agent.c | 91 +++

[libvirt] [PATCH v3 2/9] remote: implement virDomainGetGuestInfo

2019-08-23 Thread Jonathon Jongsma
Add daemon and client code to serialize/deserialize virDomainGetGuestInfo(). Signed-off-by: Jonathon Jongsma --- src/remote/remote_daemon_dispatch.c | 41 ++ src/remote/remote_driver.c | 53 + src/remote/remote_protocol.x| 21

[libvirt] [PATCH v3 5/9] qemu: add helper for querying timezone info

2019-08-23 Thread Jonathon Jongsma
This function queries timezone information within the guest and adds the information to an array of typed parameters with field names intended to be returned to virDomainGetGuestInfo() Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_agent.c | 46 ++

[libvirt] [PATCH v3 7/9] qemu: add helper for getting full FSInfo

2019-08-23 Thread Jonathon Jongsma
This function adds the complete filesystem information returned by the qemu agent to an array of typed parameters with field names intended to to be returned by virDomainGetGuestInfo() Signed-off-by: Jonathon Jongsma --- src/qemu/qemu_agent.c | 90 ++ src/qemu/qemu_agent.h |

[libvirt] [PATCH v3 0/9] add virDomainGetGuestInfo()

2019-08-23 Thread Jonathon Jongsma
changes in v3: - fixed test failure - fixed syntax issues that I had missed since I forgot to install cppi on my new laptop This series adds several bits of guest information provided by a new API function virDomainGetGuestInfo(). There is an implementation for qemu using the guest agent. In

[libvirt] [PATCH v2 05/16] qemu: add vhost-user-gpu capabilities checks

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Those new devices are merged for QEMU 4.1. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_capabilities.c | 4 src/qemu/qemu_capabilities.h | 2 ++

[libvirt] [PATCH v2 09/16] qemu: add vhost-user helpers

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Add qemuVhostUserFetchConfigs() to discover vhost-user helpers. qemuVhostUserFillDomainGPU() will find the first matching GPU helper with the required capabilities and set the associated vhost_user_binary. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson

[libvirt] [PATCH v2 14/16] qemu: build vhost-user GPU devices

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau For each vhost-user GPUs, - build a socket chardev, and pass the vhost-user socket to it - build a vhost-user video device and associate it with the chardev Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_command.c | 46

[libvirt] [PATCH v2 07/16] qemu: validate virtio-gpu with vhost-user

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Check qemu capability, and accept 3d acceleration. 3d acceleration support is checked when looking for a suitable vhost-user helper. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_process.c | 14 -- 1 file changed, 12

[libvirt] [PATCH v2 11/16] qemu: add vhost-user-gpu helper unit

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Similar to the qemu_tpm.c, add a unit with a few functions to start/stop and setup the cgroup of the external vhost-user-gpu process. See function documentation. Since the vhost-user connection fd isn't necessarily specific to QEMU, it was easier to add it to

[libvirt] [PATCH v2 08/16] qemu: restrict 'virgl=' option to non-vhostuser video type

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau vhost-user device doesn't have a virgl option, it is passed to the vhost-user-gpu helper process instead. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_command.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

[libvirt] [PATCH v2 04/16] qemu-cgroup: allow accel rendernode access

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_cgroup.c | 24 1 file changed, 24 insertions(+) diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c index ecd96efb0a..eb6f993d8e 100644 ---

[libvirt] [PATCH v2 06/16] qemu: check that qemu is vhost-user-vga capable

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau To support virtio VGA with vhost-user, vhost-user-vga device is necessary. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_domain.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_domain.c

[libvirt] [PATCH v2 03/16] domain: add rendernode attribute on

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau vhost-user-gpu helper may accept --render-node option to specify on which GPU should the renderning be done. (by comparison rendernode is the target/display rendering) Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- docs/formatdomain.html.in |

[libvirt] [PATCH v2 13/16] qemu: start/stop the vhost-user-gpu external device

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Each vhost-user-gpu needs its own helper gpu process. Start/stop them, and apply the emulator cgroup controller. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_extdevice.c | 46 +++ 1 file changed,

[libvirt] [PATCH v2 15/16] tests: mock execv/execve

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Learn to override the paths to the program to execute (vhost-user helpers are executed to check for runtime capabilities). Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- tests/virfilewrapper.c | 22 ++ 1 file changed, 22

[libvirt] [PATCH v2 16/16] tests: add vhost-user-gpu xml2argv tests

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- .../vhost-user-gpu-secondary.args | 38 .../vhost-user-gpu-secondary.xml | 44 +++ tests/qemuxml2argvdata/vhost-user-vga.args| 35

[libvirt] [PATCH v2 02/16] domain: add "vhostuser" attribute to virtio video model

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Accept a new attribute to specify usage of helper process, ex: Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- docs/formatdomain.html.in | 6 ++ docs/schemas/domaincommon.rng | 11 ++- src/conf/domain_conf.c| 14

[libvirt] [PATCH v2 12/16] qemu: prepare domain for vhost-user GPU

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau Call qemuExtVhostUserGPUPrepareDomain() to fill the domain with the location of the vhost-user binary to start. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_extdevice.c | 29 + src/qemu/qemu_extdevice.h |

[libvirt] [PATCH v2 10/16] qemu: add qemuSecurityStartVhostUserGPU helper

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau See function documentation. Used in a following patch. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/qemu_security.c | 47 src/qemu/qemu_security.h | 6 + 2 files changed, 53 insertions(+)

[libvirt] [PATCH v2 00/16] Add vhost-user-gpu support

2019-08-23 Thread Cole Robinson
v1: https://www.redhat.com/archives/libvir-list/2019-June/msg00102.html This is v2 of Marc-André's series with minor changes. I'm not taking over this series, I just fixed these as part of the patch rebase so I can review it :) Changes since v1: - rebase to master - if test file build by

[libvirt] [PATCH v2 01/16] qemu: extract out qemuFetchConfigs from firmware

2019-08-23 Thread Cole Robinson
From: Marc-André Lureau The same config files disovery & priority rules are used for vhost-user backends. Signed-off-by: Marc-André Lureau Signed-off-by: Cole Robinson --- src/qemu/Makefile.inc.am | 2 + src/qemu/qemu_configs.c | 183 +++

[libvirt] [PATCH 2/4] remote: move timeout arg into sysconf file

2019-08-23 Thread Daniel P . Berrangé
We need to give users the ability to customize the length of the shutdown timeout, or even disable timeouts entirely. Thus we must move the timeout arg into the sysconf file, instead of the service unit. Signed-off-by: Daniel P. Berrangé --- src/remote/libvirtd.service.in | 6 +-

[libvirt] [PATCH 3/4] remote: forbid the --listen arg when systemd socket activation

2019-08-23 Thread Daniel P . Berrangé
When using systemd socket activation the --listen arg has no effect. This is confusing to users upgrading from previous versions of libvirt as their config is silently ignored. Turn use of --listen into a fatal error when sockets are passed from systemd. This helps the admin discover the change

[libvirt] [PATCH 4/4] rpm: don't enable socket activation in upgrade if --listen present

2019-08-23 Thread Daniel P . Berrangé
Currently during RPM upgrade we restart libvirtd and unconditionally enable use of systemd socket activation for the UNIX sockets. If the user had previously given the --listen arg to libvirtd though, this will no longer be honoured if socket activation is used. We could start

[libvirt] [PATCH 0/4] remote: better handle system activation and upgrades

2019-08-23 Thread Daniel P . Berrangé
This improves the upgrade path to systemd socket activation - Disable socket activation in RPM %post if we see use of --listen arg on existing install - Report fatal error if --listen is used with socket activation, since it is not honoured Daniel P. Berrangé (4): remote: use Wants

[libvirt] [PATCH 1/4] remote: use Wants instead of Requires for libvirtd sockets

2019-08-23 Thread Daniel P . Berrangé
To facilitate upgrades from earlier versions of libvirt which did not use socket activation for libvirtd, we want to allow the libvirtd socket units to be disabled (masked). This can only be supported if we use the warker Wants statement instead of Requires. Signed-off-by: Daniel P. Berrangé ---

Re: [libvirt] [PATCH v2 7/9] qemu: add helper for getting full FSInfo

2019-08-23 Thread Jonathon Jongsma
On Thu, 2019-08-22 at 19:02 -0300, Daniel Henrique Barboza wrote: > This patch fails to compile in my env throwing this error: > > > CC qemuagenttest.o > qemuagenttest.c: In function > 'testQemuAgentGetFSInfoCommon.constprop': > qemuagenttest.c:242:5: error: 'ret_def' may be used

Re: [libvirt] [PATCH 00/19] Add vhost-user-gpu support

2019-08-23 Thread Ján Tomko
On Thu, Aug 22, 2019 at 07:50:14PM -0400, Cole Robinson wrote: On 8/1/19 5:28 AM, Marc-André Lureau wrote: Hi On Wed, Jun 5, 2019 at 2:32 PM wrote: From: Marc-André Lureau Hi, This series of patches adds support for running virtio GPUs in seperate processes, thanks to vhost-user backend.

[libvirt] [PATCH] virsh: Allow graceful console shutdown

2019-08-23 Thread Michal Privoznik
Currently, whenever there's a regular EOF on the console stream or an error the virStreamAbort() is called regardless. While this may not actually break anything, we should call virStreamFinish() to let the daemon know we've successfully received all the data and are shutting down the stream

Re: [libvirt] [PATCH] storage_driver: Don't crash in storagePoolCreateXML

2019-08-23 Thread Martin Kletzander
On Fri, Aug 23, 2019 at 03:24:43PM +0200, Michal Privoznik wrote: In my recent patches I've introduced virStoragePoolObjIsStarting() which is then used to protect storage pool definition when the pool object is locked and unlocked during long running jobs. Well, my patches did not anticipate

Re: [libvirt] [PATCH 0/2] rpm: fix usage of 'nc' dep

2019-08-23 Thread Michal Privoznik
On 8/20/19 11:17 AM, Daniel P. Berrangé wrote: Daniel P. Berrangé (2): rpm: depend on /usr/bin/nc instead of nc rpm: move nc dep into the libvirt-daemon sub-RPM libvirt.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Michal Privoznik Michal --

[libvirt] [PATCH] storage_driver: Don't crash in storagePoolCreateXML

2019-08-23 Thread Michal Privoznik
In my recent patches I've introduced virStoragePoolObjIsStarting() which is then used to protect storage pool definition when the pool object is locked and unlocked during long running jobs. Well, my patches did not anticipate that @obj can be NULL under 'cleanup' label in storagePoolCreateXML()

Re: [libvirt] [PATCH v3] tools: console: Relax stream EOF handling

2019-08-23 Thread Michal Privoznik
On 8/21/19 3:33 PM, Roman Bolshakov wrote: Regular VM shutdown triggers the error for existing session of virsh console and it returns with non-zero exit code: error: internal error: console stream EOF The message and status code are misleading because there's no real error. virStreamRecv

Re: [libvirt] [PATCH v1 10/11] storage_driver: Protect pool def during startup and build

2019-08-23 Thread John Ferlan
On 5/24/19 10:35 AM, Michal Privoznik wrote: > In near future the storage pool object lock will be released > during startPool and buildPool callback (in some backends). But > this means that another thread may acquire the pool object lock > and change its definition rendering the former thread

Re: [libvirt] RFC: revival of hotplug/unplug for PCI Multifunction devices in QEMU guests

2019-08-23 Thread Daniel Henrique Barboza
On 8/23/19 7:28 AM, Daniel P. Berrangé wrote: On Thu, Aug 22, 2019 at 05:09:10PM -0300, Daniel Henrique Barboza wrote: Hi Daniel, On 6/19/19 4:31 AM, Daniel P. Berrangé wrote: On Tue, Jun 18, 2019 at 03:04:40PM -0300, Daniel Henrique Barboza wrote: [...] Finally had the time to look into

Re: [libvirt] RFC: revival of hotplug/unplug for PCI Multifunction devices in QEMU guests

2019-08-23 Thread Daniel P . Berrangé
On Thu, Aug 22, 2019 at 05:09:10PM -0300, Daniel Henrique Barboza wrote: > Hi Daniel, > > On 6/19/19 4:31 AM, Daniel P. Berrangé wrote: > > On Tue, Jun 18, 2019 at 03:04:40PM -0300, Daniel Henrique Barboza wrote: > > > Hi, > > > > > > This is labeled as RFC but it's more like a FYI to let people

[libvirt] [PATCH] virpci: Rename virPCIDevice{Bind, Unbind}FromStubWithOverride

2019-08-23 Thread Michal Privoznik
After my previous patches we have virPCIDeviceBindToStub() and virPCIDeviceUnbindFromStub() which really do nothing but call virPCIDeviceBindToStubWithOverride() and virPCIDeviceUnbindFromStubWithOverride() respectively. Drop "WithOverride" from the names and drop the thin wrappers.

Re: [libvirt] [PATCH 0/2] rpm: fix usage of 'nc' dep

2019-08-23 Thread Daniel P . Berrangé
ping On Tue, Aug 20, 2019 at 10:17:15AM +0100, Daniel P. Berrangé wrote: > > > Daniel P. Berrangé (2): > rpm: depend on /usr/bin/nc instead of nc > rpm: move nc dep into the libvirt-daemon sub-RPM > > libvirt.spec.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > -- >

Re: [libvirt] [PATCH 2/2] qapi: deprecate implicit filters

2019-08-23 Thread Vladimir Sementsov-Ogievskiy
14.08.2019 13:07, Vladimir Sementsov-Ogievskiy wrote: > To get rid of implicit filters related workarounds in future let's > deprecate them now. Interesting, could we deprecate implicit filter without deprecation of unnecessity of parameter? As actually, it's good when this parameter is not

Re: [libvirt] [PATCH 00/12] Drop KVM assignment

2019-08-23 Thread Michal Privoznik
On 8/20/19 4:30 PM, Michal Privoznik wrote: > Thank you guys for review. I've pushed these. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list