On 05/29/2018 10:32 PM, Eric Blake wrote:
> On 05/29/2018 03:24 AM, Michal Privoznik wrote:
>> Now that we have strong PRNG generator implemented in
>> virRandomBytes() let's use that instead of gnulib's random_r.
>>
>> Problem with the latter is in way we seed it: current UNIX time
>> and libvirtd
On Tue, May 29, 2018 at 09:24:08AM -0600, Alex Williamson wrote:
> [Cc +Erik,libvirt]
>
> Sorry, should have cc'd libvirt with this initially since display
> support is under development. I think "off" is the better
> compatibility option, but perhaps the damage is done since it was the
> 2.12 def
On Tue, 2018-05-29 at 19:05 +0200, Daniel Veillard wrote:
> ci.centos.org seems to be raising a few issues with bindings,
> like perl python and go
Those issues seem to be caused by new APIs having been introduced
in libvirt but not in the bindings yet, so they should probably
not hold up the
On Wed, May 30, 2018 at 09:48:48AM +0200, Andrea Bolognani wrote:
> On Tue, 2018-05-29 at 19:05 +0200, Daniel Veillard wrote:
> > ci.centos.org seems to be raising a few issues with bindings,
> > like perl python and go
>
> Those issues seem to be caused by new APIs having been introduced
> in
On Tue, May 29, 2018 at 11:35:00AM -0400, John Ferlan wrote:
> Modify virStorageBackendLogicalLVCreate to ensure if encryption
> is requested that only type LUKS is supported; otherwise, error.
>
> Signed-off-by: John Ferlan
> ---
Reviewed-by: Erik Skultety
--
libvir-list mailing list
libvir-lis
Found by cppcheck:
[tests/metadatatest.c:284]: (error) Uninitialized variable: test
[tests/objecteventtest.c:855]: (error) Uninitialized variable: test
Signed-off-by: Ján Tomko
---
tests/metadatatest.c| 2 +-
tests/objecteventtest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
d
On Wed, May 30, 2018 at 10:13:25 +0200, Ján Tomko wrote:
> Found by cppcheck:
> [tests/metadatatest.c:284]: (error) Uninitialized variable: test
> [tests/objecteventtest.c:855]: (error) Uninitialized variable: test
>
> Signed-off-by: Ján Tomko
Could have been pushed as trivial :-)
Reviewed-by:
On Wed, 2018-05-30 at 09:50 +0200, Daniel Veillard wrote:
> On Wed, May 30, 2018 at 09:48:48AM +0200, Andrea Bolognani wrote:
> > On Tue, 2018-05-29 at 19:05 +0200, Daniel Veillard wrote:
> > > ci.centos.org seems to be raising a few issues with bindings,
> > > like perl python and go
> >
> >
On Tue, May 29, 2018 at 11:11:15PM +0200, Jiri Denemark wrote:
> The nwfilter XMLs in /etc are defined as %ghost in the spec file, which
> means rpm will not install them, but it will record its existence and
> permissions in the database. During installation the files are copied in
> a %post scrip
Hi Matthias,
while testing the recent improvements I did in the VMX parser for CPU
topology (see https://bugzilla.redhat.com/1568148), our QE Ming Xie set
a guest in ESXi 5.5 to 7 cores. The result was the error triggered by
the following code:
/* vmx:numvcpus -> def:vcpus */
if (virVMXGe
This patch removes what appears to be an unnecessary check in the VMX
driver which is preventing us from importing guests that have an odd
number of vCPUs with virt-v2v.
Unfortunately to test this it seems you need a real VMware server
somewhere (substitute for ‘example.com’ below).
Download the
https://bugzilla.redhat.com/show_bug.cgi?id=1584091
It is possible to create a VMware guest with an odd number of vCPUs,
but such guests cannot be accessed by libvirt because of this
unnecessary check.
I retained the sanity-check that numvcpus must be >= 1.
Signed-off-by: Richard W.M. Jones
---
On 05/30/2018 02:46 AM, Eric Blake wrote:
> On 05/29/2018 03:24 AM, Michal Privoznik wrote:
>> To unify our vir*Random() functions we need to make
>> virCryptoGenerateRandom NOT allocate return buffer. It should
>> just fill given buffer with random data.
>>
>> Signed-off-by: Michal Privoznik
>> -
On Wed, May 30, 2018 at 10:33:45 +0100, Richard W.M. Jones wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1584091
>
> It is possible to create a VMware guest with an odd number of vCPUs,
> but such guests cannot be accessed by libvirt because of this
> unnecessary check.
>
> I retained the
On Wednesday, 30 May 2018 11:33:45 CEST Richard W.M. Jones wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1584091
>
> It is possible to create a VMware guest with an odd number of vCPUs,
> but such guests cannot be accessed by libvirt because of this
> unnecessary check.
>
> I retained the
Hi All,
I am not sure about the update strategy of CPU models in libvirt.
IMO, It's depend on the CPU model in qemu-kvm, if some CPU models
were updated in qemu-kvm. Then, we should modify the src/cpu/cpu_map.xml
of libvirt to synchronize?
eg:
commit cad8054ece28("cpu: Add cpu definition for
[Dropping random people from Cc]
On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote:
> Hi All,
>
> I am not sure about the update strategy of CPU models in libvirt.
>
> IMO, It's depend on the CPU model in qemu-kvm, if some CPU models
> were updated in qemu-kvm. Then, we should modify the
On Tue, May 29, 2018 at 08:38:52PM +0800, Jie Wang wrote:
QEMU has add the 'align' option to 'memory-backend-file'. Expose
this option to users by new element align.
Signed-off-by: Jie Wang
---
docs/formatdomain.html.in | 18 +++
docs/schemas/domaincommon.rng
Hi Jiri,
At 05/30/2018 06:14 PM, Jiri Denemark wrote:
[Dropping random people from Cc]
On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote:
Hi All,
I am not sure about the update strategy of CPU models in libvirt.
IMO, It's depend on the CPU model in qemu-kvm, if some CPU models
were up
On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote:
> Hi Jiri,
>
> At 05/30/2018 06:14 PM, Jiri Denemark wrote:
> > [Dropping random people from Cc]
> >
> > On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote:
> >> Hi All,
> >>
> >> I am not sure about the update strategy of CPU models
Hi Jiri,
At 05/30/2018 07:08 PM, Jiri Denemark wrote:
On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote:
Hi Jiri,
At 05/30/2018 06:14 PM, Jiri Denemark wrote:
[Dropping random people from Cc]
On Wed, May 30, 2018 at 18:00:56 +0800, Dou Liyang wrote:
Hi All,
I am not sure about the u
[re-adding libvir-list]
On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote:
> Hi Peter,
>
> Sorry to trouble you offline.
Please keep conversations on the list, so that it does not get lost in
private inboxes.
> Recently, I forced on the PCID feature in CPU and
> found the SandyBridge di
On Wed, May 30, 2018 at 19:25:53 +0800, Dou Liyang wrote:
> Hi Jiri,
>
> At 05/30/2018 07:08 PM, Jiri Denemark wrote:
> > On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote:
> >> Hi Jiri,
> >>
> >> At 05/30/2018 06:14 PM, Jiri Denemark wrote:
> >>> [Dropping random people from Cc]
> >>>
> >>
On 05/29/2018 03:44 PM, Martin Kletzander wrote:
> On Tue, May 29, 2018 at 10:24:44AM +0200, Michal Privoznik wrote:
>> Now that we have strong PRNG generator implemented in
>> virRandomBytes() let's use that instead of gnulib's random_r.
>>
>> Problem with the latter is in way we seed it: current
The encryption secret is setup only for LUKS and thus requires the new
approach. Use qemuDomainSecretInfoNew for initializing it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/q
Move the logic that determines which secret shall be used into the
caller and make this function work only for plain secrets.
This untangles the control flow by only checking relevant data.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 94 -
Rather than trying to figure out which alias was used, store it in the
status XML.
---
src/qemu/qemu_domain.c| 90 +--
tests/qemustatusxml2xmldata/modern-in.xml | 4 ++
2 files changed, 90 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_do
This helper checks that the vm has the master key setup and libvirt
supports the given encryption algorithm.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 19 +--
src/qemu/qemu_domain.h | 2 ++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/qemu/q
Now that we remember the alias we've used to attach the secret objects
we should reuse them rather than trying to infer them from the disk
configuration.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 43 ---
1 file changed, 12 insertions(+), 31
Libvirt uses the stored alias to detach the tlx x509 object on disk
unplug. As the alias was not stored, the object would not be detached
if unplugging disks after libvirtd restart.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c| 5 +
tests/qemustatusxml2xmldata/m
The function checks whether the storage source requires authentication
secret setup. Rename it accordingly.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 4 ++--
src/qemu/qemu_domain.h | 2 +-
src/qemu/qemu_hotplug.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff -
This series consists of the following changes:
1) refactors to handling of the TLS object and secret alias
2) storage of 'secret' object aliases in the status XML
3) fix of disk-unplug with TLS after libvirtd restart
4) Adding support for TLS for NBD disks (originally used to reproduce
Previously we did not store the aliases but rather re-generated them
when unplug was necessary. This is very cumbersome since the knowledge
when and which alias to use needs to be stored in the hotplug code as
well.
While this patch will not strictly improve this situation since there
still will b
Some code paths can't use the unencrypted secret. Add a helper which
checks and sets up an encrypted secret only and reuse it when setting up
the secret to decrypt the TLS private key in qemuDomainSecretInfoTLSNew.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 49 +
Rename it to qemuDomainSecretInfoNewPlain and annotate that it also may
set up a 'plain' secret in some cases. This will eventually be
refactored further.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 37 +++--
1 file changed, 19 insertions(+), 18 delet
qemuDomainPrepareDiskSourceChain should set up the disk zero detection
mode only for the top level image. Since it's invoked also for the
middle of the chain we need to check that it's really only the top level
image.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 3 ++-
1 file changed
Use qemuDomainSecretStorageSourcePrepare in
qemuDomainSecretHostdevPrepare as it uses a virStorageSource to prepare
the authentication secret object data.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/s
It's desired to keep the alias around to allow referencing of the secret
object used with qemu. Add set of APIs which will destroy all data
except the alias.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 43 +++
src/qemu/qemu_domain.h | 2 ++
2
Convert the function to just prepare data for the disk. Callers need to
do the looping since there's more to do than just copy the data around.
The code path in qemuDomainPrepareDiskSource doesn't need to loop over
the chain yet, since there currently is no chain at this point. This
will be addres
Add tests for upcomming re-generation of aliases for the secret objects
used by qemu when upgrading libvirt.
Signed-off-by: Peter Krempa
---
.../disk-secinfo-upgrade-in.xml| 507 +
.../disk-secinfo-upgrade-out.xml | 507 ++
For some reason the function returned an error if secAlias was not
passed in. It's not an error, in fact it's desired.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
ind
Using 'haveTLS' to do this is pointless if the alias is not set.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 5e2ca1b988..f8f1d2c323 100644
--- a/src/qemu/qemu_h
We need to reference the secret objects by name when hot-unplugging
disks. Don't remove the alias so that it does not need to be
recalculated.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 29 ++---
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git
When restarting libvirt would previously lose the alias of the x509
certificate object. Upon unplug we would then not delete the
corresponding objects.
Restore the alias if we know it shoudl be there.
Luckily for disks we don't support encrypted TLS nevironment, so there's
no need to regenerate t
'secinfo' is present also for migrations. Delete the misleading comment.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 1b36e7fdfa..cb3d3f581a 100644
--- a/src/qemu/qemu_hotplug.
Remove the call to the validating function from the function which sets
stuff up.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 11 +++
src/qemu/qemu_domain.h | 6 ++
tests/qemublocktest.c | 3 +++
3 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/src/qemu
Split out the code into a separate function so that all steps for a
storage protocol are contained and the original function is easily
extendable.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 51 --
1 file changed, 29 insertions(+), 22
Remove the loop from qemuDomainPrepareDiskSourceTLS and rename it to
qemuDomainPrepareStorageSourceTLS. Currently there is no backing chain
to prepare so fixing one device is equivalent. In the future it will be
reused in a function which will do the looping.
Signed-off-by: Peter Krempa
---
src/
Move the TLS object alias setup earlier. Also make sure that the alias
is not overwritten on hotplug.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_command.c | 3 ---
src/qemu/qemu_domain.c | 14 ++
src/qemu/qemu_hotplug.c | 8 +++-
3 files changed, 13 insertions(+), 12 deleti
When using blockdev the approach to base aliases will change. Add a
helper function that will aggregate all code which needs to be called
with the disk alias for the -drive to setup internal data.
qemuDomainSecretDiskPrepare wrapper is no longer necessary as the
contents were moved to a function w
Select protocol using a swtich with all cases enumerated. This will
simplify checking unsupported protocols and adding new support.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 34 +-
1 file changed, 29 insertions(+), 5 deletions(-)
diff --git a/src/q
qemuBuildTLSx509CommandLine has no business guessing which alias should
be used. The alias needs to be passed in.
Note that there's a lingering bad design of this, since the secret
object alias is based on the device name and not on the fact that the
secret is used for decrypting of the TLS privat
Always parse the 'tls' source field and let the drivers decide whether
they support it.
Signed-off-by: Peter Krempa
---
src/conf/domain_conf.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 544f63a2a9..51e
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 5e8ff675c8..55e47a482d 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -9971,6 +9971,12 @@ qemuDomainPrepareSt
Some callers will not need to generate the alias again.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 8cfb81d545..f52e0c773d 100644
--- a/src/qemu/qemu_hotplug.
Callers need to know the alias anyways so it does not make much sense to
generate it inside of this function.
Note that there's a lingering bad design of this, since the secret
object alias is based on the device name and not on the fact that the
secret is used for decrypting of the TLS private ke
Setting up the 'secinfo' for the TLS private key password also generates
the given alias, so we don't need to generate another one.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c
Callers should generate the alias separately.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 14 +-
src/qemu/qemu_hotplug.h | 2 --
src/qemu/qemu_migration_params.c | 6 --
3 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/qemu/qem
Drop the 'vxhs' suffix so other network protocols using TLS can be
put into the same test.
Signed-off-by: Peter Krempa
---
...-drive-network-tlsx509-vxhs.args => disk-drive-network-tlsx509.args} | 0
...sk-drive-network-tlsx509-vxhs.xml => disk-drive-network-tlsx509.xml} | 0
tests/qemuxml2argvt
We make sure that the disk supports TLS when preparing the environment
so there's no need to duplicate checks.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_command.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_co
The alias of the secret for decrypting the TLS passphrase is useless
besides for TLS setup. Stop passing it around.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_migration.c| 8 ++--
src/qemu/qemu_migration_params.c | 21 +++--
src/qemu/qemu_migration_params.h | 1 -
No callers are using it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_hotplug.c | 17 +++--
src/qemu/qemu_hotplug.h | 3 +--
src/qemu/qemu_migration_params.c | 2 +-
3 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qem
Use the default TLS env if TLS is required for NBD. The rest of the
implementation is rather simple since all pieces were in place.
Note that separate configuration knobs in qemu.conf can be added later
if it's desired to configure them.
Signed-off-by: Peter Krempa
---
docs/schemas/domaincommon
Hi Peter,
Thank you for reply.
At 05/30/2018 08:00 PM, Peter Krempa wrote:
[re-adding libvir-list]
On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote:
Hi Peter,
Sorry to trouble you offline.
Please keep conversations on the list, so that it does not get lost in
private inboxes.
Re
Andrea Bolognani (2):
travis: Move PATH to macOS-specific environment
travis: Install and use ccache on macOS
.travis.yml | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
--
2.17.0
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir
As documented in [1], ccache needs to be installed and
configured explicitly on macOS.
[1] https://docs.travis-ci.com/user/caching/#ccache-cache
Signed-off-by: Andrea Bolognani
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
inde
Now that we have separate sections for each build
configuration, there's no reason to set PATH in the global
environment.
Signed-off-by: Andrea Bolognani
---
.travis.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f4dd0427a9..ddc902888
At 05/30/2018 08:11 PM, Jiri Denemark wrote:
On Wed, May 30, 2018 at 19:25:53 +0800, Dou Liyang wrote:
Hi Jiri,
At 05/30/2018 07:08 PM, Jiri Denemark wrote:
On Wed, May 30, 2018 at 18:55:02 +0800, Dou Liyang wrote:
Hi Jiri,
At 05/30/2018 06:14 PM, Jiri Denemark wrote:
[Dropping random peopl
It's pointless to check the same thing multiple times.
Fix the indentation along the way too.
Signed-off-by: Erik Skultety
---
src/conf/domain_conf.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 544f63a2
It should be the command line helper who takes care of the iteration
rather than the caller.
Signed-off-by: Erik Skultety
---
src/qemu/qemu_command.c | 60 +
1 file changed, 36 insertions(+), 24 deletions(-)
diff --git a/src/qemu/qemu_command.c b/
QEMU 2.12 introduced a new vfio-pci device option 'display=on/off/auto'.
Initially, libvirt is only going to support values on/off only, as we
don't want to predict what the intended usage of the mediated device
will be and most importantly, what kind of vfio display implementation
to use - dmabuf
Signed-off-by: Erik Skultety
---
src/qemu/qemu_command.c| 24 +++-
.../hostdev-mdev-display-spice-no-opengl.args | 32 ++
.../hostdev-mdev-display-spice-opengl.args | 31 +
.../qemuxml2argvdata/hostdev-md
This helper will later help us to make corresponding changes when
building QEMU cmdline, depending on what implementation of vfio-pci
display should be used - dmabuf (requires OpenGL) vs vfio region mapping
(doesn't need OpenGL).
Signed-off-by: Erik Skultety
---
src/conf/domain_conf.c | 24 +++
QEMU introduced a new type of display for mediated devices using
vfio-pci backend which controls whether a mediated device can be used as
a native rendering device as an alternative to an emulated video device.
This patch adds the necessary bits to domain config handling in order to
expose this fea
If QEMU supports vfio-pci.display option, we default to 'off' as we're
not trying to guess what a user's intentions with the mdev are. Perform
this decision as part of driver-specific post parse callback.
Signed-off-by: Erik Skultety
---
src/qemu/qemu_domain.c | 32 ++
Since QEMU 2.12 there's a new vfio-pci device property 'display' with values
on/off/auto. This special kind of display allows using a mediated device which
is a VGA compatible device for a display output.
There are 2 different implementations of how the device output is handled,
referred to as dmab
On Wed, May 30, 2018 at 02:16:08PM +0200, Michal Privoznik wrote:
On 05/29/2018 03:44 PM, Martin Kletzander wrote:
On Tue, May 29, 2018 at 10:24:44AM +0200, Michal Privoznik wrote:
Now that we have strong PRNG generator implemented in
virRandomBytes() let's use that instead of gnulib's random_r
On Tue, May 29, 2018 at 10:24:46AM +0200, Michal Privoznik wrote:
Now that virCryptoGenerateRandom() is plain wrapper over
virRandomBytes() we can drop it in favour of the latter.
Signed-off-by: Michal Privoznik
---
src/libvirt_private.syms | 1 -
src/qemu/qemu_domain.c | 5 +++--
src/util/vi
ping
I wanted this to get into 4.4.0 :(
I'll send update for this feature in docs/news.xml as a bribe...
signature.asc
Description: Digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Signed-off-by: Peter Krempa
---
tests/qemublocktest.c| 1 +
.../qemublocktestdata/xml2json/network-nbd-tls.json | 20
tests/qemublocktestdata/xml2json/network-nbd-tls.xml | 18 ++
3 files changed, 39 insertions(+)
create mode
Note that patch 1 can be applied only with the series adding TLS support
for NBD.
Patch 2 is independent.
Peter Krempa (2):
tests: qemublock: Test NBD with TLS
qemu: block: Add support for 'pr-manager' in
qemuBlockStorageSourceGetFileProps
src/qemu/qemu_block.c
To keep feature parity, we need to be able to format the PR manager
alias when using blockdev.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_block.c | 5 +
tests/qemublocktest.c | 1 +
.../qemublocktestdata/xml2json/
Hopefully pushed as trivial by the time you're reading this message.
Ján Tomko (2):
qemu: free migEvent in qemuMigrationCapsCheck
conf: fix vsock memory leaks
src/conf/domain_conf.c | 2 ++
src/qemu/qemu_migration_params.c | 1 +
2 files changed, 3 insertions(+)
--
2.16.1
--
lib
Introduced by:
commit d4abb7b45d48aba77c2464dbea95f02a43a60834
conf: introduce element
commit b8b42ca036adbfaac1741c8efe389cd1403e220b
qemu: add support for vhost-vsock-pci
Signed-off-by: Ján Tomko
---
src/conf/domain_conf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/conf
We allocate a temporary bitmap but never free it.
Introduced by :
qemu: Do not use qemuMonitorSetMigrationCapability
Signed-off-by: Ján Tomko
---
src/qemu/qemu_migration_params.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qemu/qemu_migration_params.c b/src/qemu/qemu_migration_p
On Wed, May 30, 2018 at 21:11:35 +0800, Dou Liyang wrote:
> Hi Peter,
>
> Thank you for reply.
>
> At 05/30/2018 08:00 PM, Peter Krempa wrote:
> >
> > [re-adding libvir-list]
> >
> > On Wed, May 30, 2018 at 19:36:10 +0800, Dou Liyang wrote:
> >> Hi Peter,
> >>
> >> Sorry to trouble you offline.
On Wed, May 30, 2018 at 16:08:06 +0200, Ján Tomko wrote:
> We allocate a temporary bitmap but never free it.
>
> Introduced by :
> qemu: Do not use qemuMonitorSetMigrationCapability
>
> Signed-off-by: Ján Tomko
> ---
> src/qemu/qemu_migration_params.c | 1 +
> 1 file changed, 1 insertion(+)
On Wed, May 30, 2018 at 16:08:07 +0200, Ján Tomko wrote:
> Introduced by:
> commit d4abb7b45d48aba77c2464dbea95f02a43a60834
> conf: introduce element
> commit b8b42ca036adbfaac1741c8efe389cd1403e220b
> qemu: add support for vhost-vsock-pci
>
> Signed-off-by: Ján Tomko
> ---
> src/conf/d
On 05/21/2018 11:00 AM, Martin Kletzander wrote:
> The default is actually `on` when `` is specified.
>
> Signed-off-by: Martin Kletzander
> ---
> docs/formatdomain.html.in | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
, commit id d0e4be9d was wrong w/r/t the default... S
Export qemuAssignDeviceVsockAlias, qemuBuildVsockDevStr
and qemuProcessOpenVhostVsock for reuse in hotplug.
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/qemu/qemu_alias.c | 2 +-
src/qemu/qemu_alias.h | 2 ++
src/qemu/qemu_command.c | 2 +-
src/qemu/q
Followup for:
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Ján Tomko (8):
qemu: split out qemuBuildVsockDevStr
qemuBuildVsockDevStr: allow passing a fdprefix
export virDomainVsockDefFree
qemu: export vsock-related functions
qemu: implement vsock hotplug
conf: introduce virDomain
A string prefix for the file descriptor name. Domain startup
uses the numeric value of fd without a prefix, but hotplug
will need to use a prefix because file descriptor names
passed via add-fd cannot start with a number.
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomk
Split out the device string building to allow reusal in hotplug.
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/qemu/qemu_command.c | 36 ++--
1 file changed, 26 insertions(+), 10 deletions(-)
diff --git a/src/qemu/qemu_comm
Allow hotplugging the vsock device.
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/qemu/qemu_driver.c | 9 ++-
src/qemu/qemu_hotplug.c | 70 +
src/qemu/qemu_hotplug.h | 4 +++
3 files changed, 82 insert
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/libvirt_private.syms | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 6001635916..5405250ee9 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_p
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/qemu/qemu_driver.c | 5 +++-
src/qemu/qemu_hotplug.c | 68 -
src/qemu/qemu_hotplug.h | 3 +++
3 files changed, 74 insertions(+), 2 deletions(-)
diff --git a/sr
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/qemu/qemu_driver.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index e030a9e095..6496fe4719 100644
--- a/src/qemu/q
Introduce a function for comparing two vsock definitions.
https://bugzilla.redhat.com/show_bug.cgi?id=1291851
Signed-off-by: Ján Tomko
---
src/conf/domain_conf.c | 18 ++
src/conf/domain_conf.h | 3 +++
src/libvirt_private.syms | 1 +
3 files changed, 22 insertions(+)
dif
On Wed, May 30, 2018 at 02:40:57PM +0200, Peter Krempa wrote:
This helper checks that the vm has the master key setup and libvirt
supports the given encryption algorithm.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 19 +--
src/qemu/qemu_domain.h | 2 ++
2 files chang
On 05/21/2018 11:00 AM, Martin Kletzander wrote:
> We are still hoping all of such checks will be moved there and this is one
> small
> step in that direction.
>
> One of the things that this is improving is the error message you get when
> starting a domain with SMM and i440fx, for example.
1 - 100 of 194 matches
Mail list logo