On 18.10.2016 14:59, zhun...@gmail.com wrote:
> Now I want to add some args about TPM to domain's XML,so I can start a
> domain by virt-manager or other virsh command,and then ,I would like to use
> sVIrt security context to label vTPM and correspondingVM,But I do not know
> how to get these
On 17.10.2016 20:46, Nikolay Shirokovskiy wrote:
> Hi, all.
>
> We would like to use virDomainQemuMonitorCommand to query qemu independently
> of
> libvirt state. Currenly it is not possible. This API call takes job condition
> just like any other call and thus is unavailable on any lengthy(or
On 14.10.2016 22:16, Stefan Hajnoczi wrote:
> On Fri, Feb 5, 2016 at 2:56 PM, Gromak Yuriy wrote:
>> Qemu is latest from master branch.
>> Tryingto start a domain, which is connected toa blankcdrom:
>>
>>
>>
>>
>>
>>
>>
On 19.10.2016 03:55, Sławek Kapłoński wrote:
> Tue, 18 Oct 2016, Michal Privoznik wrote:
>> > On 14.10.2016 04:53, Sławek Kapłoński wrote:
>>> > > This new function can be used to check if e.g. name of XML node
>>> > > don't contains forbidden chars like "/" or new-line.
>>> > > ---
>>> > >
Quoting Michal Privoznik (2016-08-29 04:54:13)
> On 29.08.2016 11:48, Umar Draz wrote:
> > Hi Michal,
> >
> > well after the upgrade I am still getting the old version
> >
> >
On Mon, Oct 17, 2016 at 03:45:09PM +1100, Sam Bobroff wrote:
On Fri, Oct 14, 2016 at 10:19:42AM +0200, Martin Kletzander wrote:
On Fri, Oct 14, 2016 at 11:52:22AM +1100, Sam Bobroff wrote:
>I did look at the libnuma and cgroups approaches, but I was concerned they
>wouldn't work in this case,
Hello,
Thx for review. Please read my answear inline.
--
Best regards / Pozdrawiam
Sławek Kapłoński
sla...@kaplonski.pl
On Tue, 18 Oct 2016, Michal Privoznik wrote:
> On 14.10.2016 04:53, Sławek Kapłoński wrote:
> > This new function can be used to check if e.g. name of XML node
> > don't
On 10/18/2016 11:04 AM, Pavel Hrdina wrote:
> Pavel Hrdina (3):
> qemu_alias: introduce qemuAliasChardevFromDevAlias helper
> qemu_command: create prefixed alias to separate variable
> qemu: always generate the same alias for tls-creds-x509 object
>
> src/qemu/qemu_alias.c
Correcting the error reporting method by using VSH_REQUIRE_OPTION
instead of virReportError
Signed-off-by: Kothapally Madhu Pavan
---
tools/virsh-domain.c |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tools/virsh-domain.c
On 10/18/2016 07:33 PM, Peter Krempa wrote:
On Tue, Oct 18, 2016 at 07:39:16 -0400, Kothapally Madhu Pavan wrote:
Correcting the error reporting method by using vshError
instead of virReportError
Signed-off-by: Kothapally Madhu Pavan
---
tools/virsh-domain.c |
We should set localhost as vnc address in case of empty string.
Because Virtuozzo sets 0.0.0.0 as default vnc address.
---
src/vz/vz_sdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c
index f2a5c96..7235172 100644
--- a/src/vz/vz_sdk.c
+++
On 10/18/2016 10:57 AM, Pavel Hrdina wrote:
> On Tue, Oct 18, 2016 at 10:37:37AM -0400, John Ferlan wrote:
>>
>>
>> On 10/18/2016 09:58 AM, Pavel Hrdina wrote:
>>> There was inconsistency between alias used to create tls-creds-x509
>>> object and alias used to link that object to chardev while
Instead of typing the prefix every time we want to append parameters
to qemu command line use a variable that contains prefixed alias.
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 35 ---
1 file changed, 20 insertions(+), 15
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_alias.c | 16
src/qemu/qemu_alias.h | 3 +++
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_hotplug.c | 14 +++---
4 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/src/qemu/qemu_alias.c
There was inconsistency between alias used to create tls-creds-x509
object and alias used to link that object to chardev while hotpluging.
Hotplug ends with this error:
error: Failed to detach device from channel-tcp.xml
error: internal error: unable to execute QEMU command 'chardev-add':
Pavel Hrdina (3):
qemu_alias: introduce qemuAliasChardevFromDevAlias helper
qemu_command: create prefixed alias to separate variable
qemu: always generate the same alias for tls-creds-x509 object
src/qemu/qemu_alias.c | 16 +
src/qemu/qemu_alias.h
On Tue, Oct 18, 2016 at 10:37:37AM -0400, John Ferlan wrote:
>
>
> On 10/18/2016 09:58 AM, Pavel Hrdina wrote:
> > There was inconsistency between alias used to create tls-creds-x509
> > object and alias used to link that object to chardev while hotpluging.
> >
> > In XML we have for example
On Tue, Oct 18, 2016 at 04:46:53PM +0200, Pino Toscano wrote:
> On Tuesday, 18 October 2016 14:19:41 CEST Daniel P. Berrange wrote:
> > On Mon, Oct 17, 2016 at 04:24:53PM +0200, Pino Toscano wrote:
> > > Implement a new libssh transport, which uses libssh to communicate with
> > > remote hosts,
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> instead of calling virDomainPCIAddressGetNextSlot() (which I want to
> turn into a local static in domain_addr.c).
> ---
>
> Change: fixed line length
>
> src/qemu/qemu_domain_address.c | 33 +++--
> 1 file
On Tuesday, 18 October 2016 14:19:41 CEST Daniel P. Berrange wrote:
> On Mon, Oct 17, 2016 at 04:24:53PM +0200, Pino Toscano wrote:
> > Implement a new libssh transport, which uses libssh to communicate with
> > remote hosts, and use it in virNetSockets.
> >
> > This new transport supports all
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> This function is no longer needed outside of domain_addr.c.
> ---
> src/conf/domain_addr.c | 2 +-
> src/conf/domain_addr.h | 5 -
> src/libvirt_private.syms | 1 -
> 3 files changed, 1 insertion(+), 7 deletions(-)
>
> diff --git
On 10/18/2016 09:58 AM, Pavel Hrdina wrote:
> There was inconsistency between alias used to create tls-creds-x509
> object and alias used to link that object to chardev while hotpluging.
>
> In XML we have for example alias "serial0", but on qemu command line we
> generate "charserial0".
>
>
On Tuesday, 18 October 2016 15:15:07 CEST Peter Krempa wrote:
> On Mon, Oct 17, 2016 at 16:24:53 +0200, Pino Toscano wrote:
> > Implement a new libssh transport, which uses libssh to communicate with
> > remote hosts, and use it in virNetSockets.
> >
> > This new transport supports all the common
On Tue, Oct 18, 2016 at 10:22:50AM -0400, John Ferlan wrote:
>
>
> On 10/18/2016 09:58 AM, Pavel Hrdina wrote:
> > Instead of typing the prefix every time we want to append parameters
> > to qemu command line use a variable that contains prefixed alias.
> >
> > Signed-off-by: Pavel Hrdina
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> There is an existing virDomainPCIAddressReserveNextSlot() which will
> reserve all functions of the next available PCI slot. One place in the
> qemu PCI address assignment code requires reserving a *single*
> function of the next available
On 10/18/2016 09:58 AM, Pavel Hrdina wrote:
> Instead of typing the prefix every time we want to append parameters
> to qemu command line use a variable that contains prefixed alias.
>
> Signed-off-by: Pavel Hrdina
> ---
> src/qemu/qemu_command.c | 35
Pavel Hrdina (2):
qemu_command: create prefixed alias to separate variable
qemu: always generate the same alias for tls-creds-x509 object
src/qemu/qemu_command.c| 39 --
src/qemu/qemu_hotplug.c| 9 +++--
Now I want to add some args about TPM to domain's XML,so I can start a domain
by virt-manager or other virsh command,and then ,I would like to use sVIrt
security context to label vTPM and correspondingVM,But I do not know how to get
these XML args in libvirt.
the key problem is that how can i
On Tue, Oct 18, 2016 at 07:39:16 -0400, Kothapally Madhu Pavan wrote:
> Correcting the error reporting method by using vshError
> instead of virReportError
>
> Signed-off-by: Kothapally Madhu Pavan
> ---
> tools/virsh-domain.c |6 +++---
> 1 file changed, 3
There was inconsistency between alias used to create tls-creds-x509
object and alias used to link that object to chardev while hotpluging.
In XML we have for example alias "serial0", but on qemu command line we
generate "charserial0".
The issue was that code, that creates QMP command to hotplug
Instead of typing the prefix every time we want to append parameters
to qemu command line use a variable that contains prefixed alias.
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 35 ---
1 file changed, 20 insertions(+), 15
On Tue, Oct 18, 2016 at 16:18:10 +0800, Chen Hanxiao wrote:
> From: Chen Hanxiao
>
> 'sockets' in output of `virsh capabilities' means
You are talking here about virsh capabilities, while the code is about
the cpu definition in the domain configuration.
> the sockets per
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> from virDomainDefPtr to virDomainObjPtr so that the function has
> access to the other parts of the virDomainObjPtr. Take advantage of
> this by removing the "priv" arg and retrieving it from the
> virDomainObjPtr instead.
>
> No functional
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> This error should only ever be seen by a developer anyway, but the
> existing message made even less sense that this new version.
> ---
> src/qemu/qemu_domain_address.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On Mon, Oct 17, 2016 at 04:24:53PM +0200, Pino Toscano wrote:
> Implement a new libssh transport, which uses libssh to communicate with
> remote hosts, and use it in virNetSockets.
>
> This new transport supports all the common ssh authentication methods,
> making use of libvirt's auth callbacks
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> This is already set by virDomainPCIAddressSetAlloc().
> ---
> src/qemu/qemu_domain_address.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c
> index d2a3237..3926b18
On Mon, Oct 17, 2016 at 16:24:53 +0200, Pino Toscano wrote:
> Implement a new libssh transport, which uses libssh to communicate with
> remote hosts, and use it in virNetSockets.
>
> This new transport supports all the common ssh authentication methods,
> making use of libvirt's auth callbacks
On Fri, 2016-10-14 at 15:54 -0400, Laine Stump wrote:
> For some reason the values of memballoon model are set using an
> anonymous enum, making it impossible to perform nice tricks like
> demanding there are cases for all possible values in a switch. This
> patch turns the anonymous enum into
On 10/18/2016 07:21 AM, Daniel P. Berrange wrote:
> On Tue, Oct 18, 2016 at 06:59:57AM -0400, John Ferlan wrote:
>>
>>
>> On 10/18/2016 02:27 AM, Pavel Hrdina wrote:
>> [...]
>>
"As default behaviour I think it is desirable that we can turn TLS on
for every VM at once - I tend to
On Fri, 2016-10-14 at 15:53 -0400, Laine Stump wrote:
> More occurences of repeatedly dereferencing the same pointer stored in
> an array are replaced with the definition of a temporary pointer that
> is then used directly. No functional change.
> ---
> src/qemu/qemu_domain_address.c | 41
Correcting the error reporting method by using vshError
instead of virReportError
Signed-off-by: Kothapally Madhu Pavan
---
tools/virsh-domain.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
On Tue, Oct 18, 2016 at 01:26:55PM +0200, Peter Krempa wrote:
> On Tue, Oct 18, 2016 at 13:20:01 +0200, Pavel Hrdina wrote:
> > We need to make sure that the chardev is serial and TCP.
>
> Note that it corrupts pointers in a different part of the union.
>
> >
> > Signed-off-by: Pavel Hrdina
On 10/18/2016 07:20 AM, Pavel Hrdina wrote:
> We need to make sure that the chardev is serial and TCP.
>
> Signed-off-by: Pavel Hrdina
> ---
> src/qemu/qemu_hotplug.c | 8 ++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
ACK - although you could put a few
On Tue, Oct 18, 2016 at 13:20:01 +0200, Pavel Hrdina wrote:
> We need to make sure that the chardev is serial and TCP.
Note that it corrupts pointers in a different part of the union.
>
> Signed-off-by: Pavel Hrdina
> ---
> src/qemu/qemu_hotplug.c | 8 ++--
> 1 file
On Fri, 2016-10-14 at 15:53 -0400, Laine Stump wrote:
> There's no functional change here. This pointer was just used so many
> times that the extra long lines became annoying.
> ---
>
> Change: added more instances of the same change.
>
> src/qemu/qemu_domain_address.c | 208
On Tue, Oct 18, 2016 at 06:59:57AM -0400, John Ferlan wrote:
>
>
> On 10/18/2016 02:27 AM, Pavel Hrdina wrote:
> [...]
>
> >>
> >> "As default behaviour I think it is desirable that we can turn TLS on
> >> for every VM at once - I tend to view it as a host network integration
> >> task, rather
We need to make sure that the chardev is serial and TCP.
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_hotplug.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 14af4e1..1003d50 100644
---
On Tue, Oct 18, 2016 at 06:59:57AM -0400, John Ferlan wrote:
>
>
> On 10/18/2016 02:27 AM, Pavel Hrdina wrote:
> [...]
>
> >>
> >> "As default behaviour I think it is desirable that we can turn TLS on
> >> for every VM at once - I tend to view it as a host network integration
> >> task, rather
On 10/18/2016 02:27 AM, Pavel Hrdina wrote:
[...]
>>
>> "As default behaviour I think it is desirable that we can turn TLS on
>> for every VM at once - I tend to view it as a host network integration
>> task, rather than a VM configuration task. Same rationale that we use
>> for TLS wth
On Fri, 2016-10-14 at 15:53 -0400, Laine Stump wrote:
> These functions provide a simple one line method of learning if the
> current domain has a pci-root or pcie-root bus.
> ---
>
> Changes: "reversed polarity" of 2nd if clause as suggested by Andrea.
>
> src/qemu/qemu_domain.c | 30
From: Chen Hanxiao
'sockets' in output of `virsh capabilities' means
the sockets per NUMA node,
which is a special case.
discuss in:
https://www.redhat.com/archives/libvir-list/2012-March/msg01123.html
Signed-off-by: Chen Hanxiao
---
On 18.10.2016 03:48, John Ferlan wrote:
> The following were all part of the review of the TCP chardev TLS series which
> were outside the realm of the specific changes for the series...
>
> http://www.redhat.com/archives/libvir-list/2016-October/msg00742.html
>
> 1. Removal of cfg from
On Mon, Oct 17, 2016 at 11:24:58AM -0400, John Ferlan wrote:
>
>
> On 10/17/2016 10:37 AM, Pavel Hrdina wrote:
> > On Mon, Oct 17, 2016 at 09:54:46AM -0400, John Ferlan wrote:
> >>
> >>
> >> On 10/17/2016 04:09 AM, Pavel Hrdina wrote:
> >>> On Fri, Oct 14, 2016 at 04:23:04PM -0400, John Ferlan
On Mon, Oct 17, 2016 at 03:48:53PM -0400, John Ferlan wrote:
> The following were all part of the review of the TCP chardev TLS series which
> were outside the realm of the specific changes for the series...
>
> http://www.redhat.com/archives/libvir-list/2016-October/msg00742.html
>
> 1. Removal
54 matches
Mail list logo