On Fri, Oct 13, 2017 at 08:36:54 -0500, Eric Blake wrote:
> On 10/13/2017 12:43 AM, Peter Krempa wrote:
> > On Thu, Oct 12, 2017 at 14:57:36 -0500, Eric Blake wrote:
> >> On 10/12/2017 02:07 PM, Peter Krempa wrote:
[..]
> >> When we were always regenerating the chain on the fly, there wasn't
Some test cases have the backend tag inside wrong interfaces. The backend xml
tag does not support . So this commit
removes some tags inside those interfaces.
Signed-off-by: Julio Faracco
---
tests/qemuxml2argvdata/qemuxml2argv-tap-vhost-incorrect.xml | 2 --
The tag backend is not supported for user/direct/hostdev network when you
try to define them inside the domain XML. So, other ways to include devices
cannot be permitted too. But the attach-device command is wrongly adding
unsupported features. This commit fixes this bug.
After the patch:
virsh
The xml tag is not supported for some interface types and the virsh
command 'attach-device' permits to add settings to all of them.
These commits avoid for user, direct and hostdev interface types.
Julio Faracco (2):
tests: removing backend xml tag inside some test cases.
conf: network
- Original Message -
> From: "Michal Privoznik"
> To: "Zack Cornelius"
> Cc: "libvir-list"
> Sent: Friday, September 29, 2017 2:44:13 AM
> Subject: Re: [libvirt] Exposing mem-path in domain XML
> For this
Move qemuFreeKeywords into qemu_parse_command.c as
qemuKeywordsFree and call it rather than inline code
in multiple places.
Signed-off-by: Kothapally Madhu Pavan
---
src/qemu/qemu_monitor_json.c | 15 ++---
src/qemu/qemu_parse_command.c | 52
This script replaces the existing Makefile, and will be extended
to provide more functionality in future commits.
Signed-off-by: Andrea Bolognani
---
ansible/Makefile | 9 -
ansible/manage | 57
2 files
I, for one, welcome our new robot overlords.
Andrea Bolognani (5):
ansible: Remove bootstrap phase
ansible: Introduce the 'manage' tool
ansible: Add unattended installation support
ansible: Update documentation
guests: Rename from 'ansible'
ansible/Makefile
The 'manage' tool can now be used to install most known guests
without requiring user interaction.
Signed-off-by: Andrea Bolognani
---
ansible/group_vars/all/install.yml | 10 +++
ansible/host_vars/libvirt-centos-6/install.yml | 3 +
Having to bootstrap the guest as a separate phase is annoying and
can be avoided by assuming the root password is well-known.
Signed-off-by: Andrea Bolognani
---
ansible/Makefile| 5 +
ansible/bootstrap.yml | 15 ---
There's more than just Ansible playbooks in that directory now,
so a more generic name is more appropriate.
Signed-off-by: Andrea Bolognani
---
{ansible => guests}/.gitignore | 0
{ansible => guests}/README.markdown
Signed-off-by: Andrea Bolognani
---
ansible/README.markdown | 74 +++--
1 file changed, 47 insertions(+), 27 deletions(-)
diff --git a/ansible/README.markdown b/ansible/README.markdown
index 4d464e1..b867aee 100644
---
On Wed, Oct 11, 2017 at 12:11:15PM +0200, Jiri Denemark wrote:
> Signed-off-by: Jiri Denemark
> ---
> src/conf/cpu_conf.c | 40 +++-
> src/conf/cpu_conf.h | 4
> src/libvirt_private.syms | 1 +
> 3 files changed, 32
On Thu, Oct 12, 2017 at 09:18:36AM +0200, Jiri Denemark wrote:
> On Wed, Oct 11, 2017 at 19:42:36 +0200, Marc Hartmayer wrote:
> > On Wed, Oct 11, 2017 at 12:11 PM +0200, Jiri Denemark
> > wrote:
> > > The new function is called qemuProcessRefreshCPU.
> > >
> > >
On Thu, Oct 12, 2017 at 03:48:29PM +0200, Jiri Denemark wrote:
> When migration fails, QEMU may provide a description of the error in
> the reply to query-migrate QMP command. We can fetch this error and use
> it instead of the generic "unexpectedly failed" message.
>
> Signed-off-by: Jiri
On 10/09/2017 01:16 PM, Kothapally Madhu Pavan wrote:
> Existing qemuParseCommandLineMem() will parse "-m 4G" format string.
> This patch allows it to parse "-m size=8126464k,slots=32,maxmem=33554432k"
> format along with existing format. And adds a testcase to validate the
> changes.
>
>
On 10/06/2017 02:47 AM, Ladi Prosek wrote:
> Hyper-V uses its own specific memory management so no mapping is going to
> be perfect. However, it is more correct to map Limit to max_memory (it
> really is the upper limit of what the VM may potentially use) and keep
> cur_balloon equal to
On 10/06/2017 02:47 AM, Ladi Prosek wrote:
> The code was vulnerable to SQL injection. Likely not a security issue due to
> WMI SQL and other constraints but still lame. For example:
>
> virsh # dominfo \"
> error: failed to get domain '"'
> error: internal error: SOAP fault during
On 10/06/2017 02:47 AM, Ladi Prosek wrote:
> "%s is not a Hyper-V server" is not a correct generalization of all possible
> error conditions of hypervEnumAndPull. For example:
>
> $ virsh --connect hyperv://localhost/?transport=http
> Enter username for localhost [administrator]:
> Enter
On 09/27/2017 08:45 AM, Nikolay Shirokovskiy wrote:
> Current daemon shutdown can cause crashes. The problem is that threads
> serving client request are joined on daemon dispose after drivers already
> cleaned up. But this threads typically uses drivers and thus crashes come.
> We need to join
Libvirt Security Notice: LSN-2017-0002
==
Summary: TLS certificate verification disabled for clients
Reported on: 20171005
Published on: 20171016
Fixed on: 20171016
Reported by: Daniel P. Berrange <berra...@redhat.
The default_tls_x509_verify (and related) parameters in qemu.conf
control whether the QEMU TLS servers request & verify certificates
from clients. This works as a simple access control system for
servers by requiring the CA to issue certs to permitted clients.
This use of client certificates is
Signed-off-by: Pavel Hrdina
---
docs/formatdomain.html.in| 6 +
include/libvirt/libvirt-domain.h | 28
src/conf/domain_conf.h | 19 --
src/driver-hypervisor.h | 7 +
src/libvirt-domain.c | 56
We need to send allowReboot in the migration cookie to ensure the same
behavior of the virDomainSetLifecycleAction() API on the destination.
Consider this scenario:
1. On the source the domain is started with:
destroy
restart
destroy
2. User calls an API to set
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 33 ++---
1 file changed, 14 insertions(+), 19 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 5441f5e37f..db6cc55495 100644
--- a/src/qemu/qemu_command.c
Signed-off-by: Pavel Hrdina
---
tools/virsh-domain.c | 102 +++
tools/virsh.pod | 7
2 files changed, 109 insertions(+)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index a50713d6e4..bdafdf6f5d 100644
This will be used later on in implementation of new API
virDomainSetLifecycleAction(). In order to use it, we need to store
the value in status XML to not lose the information if libvirtd is
restarted.
If some guest was started by old libvirt where it was not possible
to change the lifecycle
Pavel Hrdina (14):
conf: rename lifecycle enum values to correspond with typedef keyword
conf: rename virDomainLifecycleAction enum functions
conf: introduce virDomainLifecycle enum to list all lifecycle types
conf: merge virDomainLifecycleCrashAction with
virDomainLifecycleAction
Signed-off-by: Pavel Hrdina
---
src/conf/domain_conf.c | 10 +-
src/conf/domain_conf.h | 2 +-
src/libvirt_private.syms | 4 ++--
src/xenconfig/xen_common.c | 8
src/xenconfig/xen_sxpr.c | 8
5 files changed, 16 insertions(+), 16
There is one limitation for using this API, when the guest is started
with all actions set to "destroy" we put "-no-reboot" on the QEMU
command line. That cannot be changed while QEMU is running and
the QEMU process is always terminated no matter what is configured
for any action.
Resolves:
Signed-off-by: Pavel Hrdina
---
src/conf/domain_conf.c | 5 +
src/conf/domain_conf.h | 9 +
2 files changed, 14 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 39a4c4d80f..e9d7f8911e 100644
--- a/src/conf/domain_conf.c
+++
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index da59a1fd63..5441f5e37f 100644
--- a/src/qemu/qemu_command.c
+++
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index fa70d15c43..da59a1fd63 100644
--- a/src/qemu/qemu_command.c
+++
Extract the required data inside a function instead of passing it
all as arguments.
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 18 ++
src/qemu/qemu_command.h | 11 ++-
src/qemu/qemu_process.c | 19 ---
3 files changed,
There is no need to have two different enums where one has the same
values as the other one with some additions.
Currently for on_poweroff and on_reboot we allow only subset of actions
that are allowed for on_crash. This was covered in parse time using
two different enums. Now to make sure that
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_command.c | 23 ---
1 file changed, 8 insertions(+), 15 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 935b05226d..fa70d15c43 100644
--- a/src/qemu/qemu_command.c
+++
Signed-off-by: Pavel Hrdina
---
src/conf/domain_conf.c| 6 +++---
src/conf/domain_conf.h| 10 +-
src/libxl/libxl_conf.c| 12 ++--
src/libxl/libxl_domain.c | 20 ++--
src/lxc/lxc_native.c | 4 ++--
On Mon, Oct 16, 2017 at 05:36:54PM +0800, zhenwei.pi wrote:
> Signed-off-by: zhenwei.pi
> ---
> domain.go | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/domain.go b/domain.go
> index bacab11..f9d567d 100644
> --- a/domain.go
> +++
Signed-off-by: zhenwei.pi
---
domain.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/domain.go b/domain.go
index bacab11..f9d567d 100644
--- a/domain.go
+++ b/domain.go
@@ -117,7 +117,7 @@ type DomainDisk struct {
Snapshot string
On Fri, Oct 13, 2017 at 16:46:57 -0400, John Ferlan wrote:
>
>
> On 10/13/2017 02:14 PM, Jiri Denemark wrote:
> > When decoding CPUID data to virCPUDef we need to be careful about using
> > a CPU model which cannot be directly used on the current host. Normally,
> > libvirt would notice the
From: Chen Hanxiao
Option --full will always display the name and MAC
address of the interface.
Both virsh help and virsh man page didn't mention that.
Signed-off-by: Chen Hanxiao
---
tools/virsh-domain-monitor.c | 2 +-
tools/virsh.pod
41 matches
Mail list logo