Re: [libvirt PATCH 2/6] tests: re-generate QEMU 6.0.0 x86_64 capabilities data

2021-04-06 Thread Peter Krempa
On Tue, Apr 06, 2021 at 16:31:33 +0100, Daniel Berrange wrote: > This was generated from QEMU git v6.0.0-rc1-71-g109918d24a, on a Fedora > 33 host with Intel(R) Core(TM) i7-9850H CPU. > > Signed-off-by: Daniel P. Berrangé > --- > .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml | 58 +- >

Re: [libvirt PATCH 5/6] qemu: probe for "acpi-index" property

2021-04-06 Thread Igor Mammedov
On Tue, 6 Apr 2021 16:31:36 +0100 Daniel P. Berrangé wrote: > This property is exposed by QEMU on any PCI device, but we have to pick > some specific device(s) to probe it against. We expect that at least one > of the virtio devices will be present, so probe against them. Would it be useful to

GSoC Introduction

2021-04-06 Thread 林郁松
Hi, I am Yusung Lin. I am studying computer science in New York University. I intend to apply for Google Summer of Code. I have experience in C and some in system programming. I think I have preferred project idea about test driver API or XML fuzzing. Before I see there should be an interview

[libvirt PATCH 4/6] qemu: use a switch when building device addresses

2021-04-06 Thread Daniel P . Berrangé
The compiler can more easily optimize a switch, and more importantly can also warn when new address types are added which are not handled. Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_command.c | 37 +++-- 1 file changed, 31 insertions(+), 6 deletions(-)

[libvirt PATCH 6/6] qemu: wire up command line support for ACPI index

2021-04-06 Thread Daniel P . Berrangé
This makes it possible to enable stable NIC device names in most modern Linux distos. Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_command.c | 2 + src/qemu/qemu_validate.c | 35 +++ .../devices-acpi-index.x86_64-latest.args | 57

[libvirt PATCH 3/6] qemu: fix indentation off-by-1

2021-04-06 Thread Daniel P . Berrangé
Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 7fcf7ad1ef..d3fcca699a 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -418,7 +418,7 @@

[libvirt PATCH 5/6] qemu: probe for "acpi-index" property

2021-04-06 Thread Daniel P . Berrangé
This property is exposed by QEMU on any PCI device, but we have to pick some specific device(s) to probe it against. We expect that at least one of the virtio devices will be present, so probe against them. Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_capabilities.c |

[libvirt PATCH 0/6] qemu: support stable NIC device naming

2021-04-06 Thread Daniel P . Berrangé
With this series applied it is possible to get stable NIC device naming in combination with QEMU >= 6.0.0 (release imminent), by setting the ACPI device index against NICs. The index is an unique integer that can be assigned to any PCI/PCIe device. systemd uses this value for its stable NIC

[libvirt PATCH 1/6] conf: add support for for PCI devices

2021-04-06 Thread Daniel P . Berrangé
PCI devices can be associated with a unique integer index that is exposed via ACPI. In Linux OS with systemd, this value is used for provide a NIC device naming scheme that is stable across changes in PCI slot configuration. Signed-off-by: Daniel P. Berrangé --- docs/formatdomain.rst |

[libvirt PATCH] run: fix spawning of daemons

2021-04-06 Thread Daniel P . Berrangé
The "args" array already contains the binary name, so does not need to be concatenated with "prog". Signed-off-by: Daniel P. Berrangé --- run.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.in b/run.in index b778505a33..9aae27a79e 100644 --- a/run.in +++ b/run.in

GSoC 2021 Introduction

2021-04-06 Thread Luke Yue
Hello, I'm Zelong Yue from East China Normal University. I am majoring in Software Engineering. I want to apply for the idea "Test driver API coverage" of libvirt community. I've noticed that there are requirements for application and I try to complete them. The small upstream contribution: I

[libvirt PATCH] meson: Drop readline kludge

2021-04-06 Thread Andrea Bolognani
Both FreeBSD ports and Homebrew on macOS have readline 8.1 now, and that version contains a correct pkg-config file so the kludge is no longer necessary. Signed-off-by: Andrea Bolognani --- Only took a couple of years :) Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/282088714

[libvirt PATCH] tests: add warning that qemucapsprobe prefers native host/guest arch

2021-04-06 Thread Daniel P . Berrangé
Generally we want the QEMU capabilities data in git to report KVM related features, and thus we strongly prefer that the capabilities are generated on a native host. Signed-off-by: Daniel P. Berrangé --- tests/qemucapsprobe.c | 12 1 file changed, 12 insertions(+) diff --git