Re: [PATCH] virsysinfo: Try reading DMI table

2024-04-02 Thread Jim Fehlig
On 3/26/24 13:38, brett.hol...@canonical.com wrote: From: Brett Holman Add DMI support for risc-v and mips. Attempt to read dmidecode and fall back to old behavior if that fails. The SMBIOS specification[1] officially supports both RISC-V and LoongArch. Some mips-based Loongson-3 processors

Re: [PATCH-for-9.1 v2 2/3] migration: Remove RDMA protocol handling

2024-04-02 Thread Peter Xu
On Mon, Apr 01, 2024 at 11:26:25PM +0200, Yu Zhang wrote: > Hello Peter und Zhjian, > > Thank you so much for letting me know about this. I'm also a bit surprised at > the plan for deprecating the RDMA migration subsystem. It's not too late, since it looks like we do have users not yet notified

Re: [PATCH] qemucapabilitiestest: Update qemu-9.0 capabilities for RC1

2024-04-02 Thread Pavel Hrdina
On Tue, Apr 02, 2024 at 03:34:42PM +0200, Peter Krempa wrote: > Update the capabilities to v9.0.0-rc1-55-g7fcf7575f3 > > Notable changes: > - Q35 machine now supports 4096 cpus > > - 'kvm-asyncpf-vmexit' cpu feature added > - 'x2apic' cpu feature is now migratable > > - LUKS detached header

Release of libvirt-10.2.0

2024-04-02 Thread Jiri Denemark
The 10.2.0 release of both libvirt and libvirt-python is tagged and signed tarballs are available at https://download.libvirt.org/ https://download.libvirt.org/python/ Thanks everybody who helped with this release by sending patches, reviewing, testing, or providing feedback. Your work

[PATCH v2 2/2] tests: Add testcase for usb-net

2024-04-02 Thread Rayhan Faizel
Add small test case to demonstrate use of usb-net with user networking backend. Signed-off-by: Rayhan Faizel --- .../net-usb.x86_64-latest.args| 35 +++ .../qemuxmlconfdata/net-usb.x86_64-latest.xml | 35 +++ tests/qemuxmlconfdata/net-usb.xml

[PATCH v2 1/2] conf: Automatically assign address to usb-net device

2024-04-02 Thread Rayhan Faizel
This patch will allow usb-net devices to be automatically assigned a USB address (and skip any attempt to assign a PCI one). Signed-off-by: Rayhan Faizel --- docs/formatdomain.rst | 1 + src/conf/domain_conf.c | 9 - src/qemu/qemu_domain_address.c | 4 3 files

[PATCH v2 0/2] qemu: Improve support for usb-net devices

2024-04-02 Thread Rayhan Faizel
Though usb-net is not explicitly supported, it is already possible to use usb-net devices directly with libvirt (Simply by setting model type as 'usb-net' and manually providing a USB address) This patch series intends to fill in some remaining gaps. 1. Automatic USB address assignment 2. New

Re: [PATCH for-9.0] docs/about: Mark the iaspc machine type as deprecated

2024-04-02 Thread Gerd Hoffmann
On Fri, Mar 29, 2024 at 10:19:09AM +, Bernhard Beschow wrote: > > In theory you could pass `-M acpi=off` to not instantiate the PIIX4 > ACPI function, essentially turning the Frankenstein-PIIX4 SB into a > PIIX3. However, this also removes SMI registers used by SeaBIOS to > handle SMM setup

Re: [PATCH v2 1/1] remote: properly initialize objects in ACL helpers

2024-04-02 Thread Denis V. Lunev
On 4/2/24 09:31, Peter Krempa wrote: On Tue, Mar 19, 2024 at 15:07:04 +0100, Denis V. Lunev wrote: Commit 2ecdf259299813c2c674377e22a0acbce5ccbbb2 was intended to implement two things: reduce stack usage inside ACL helpers and minimally initialize virDomainDef object to avoid passing garbage

Re: [PATCH 3/3] tests: Add testcase for usb-net

2024-04-02 Thread Peter Krempa
On Tue, Apr 02, 2024 at 02:01:18 +0530, Rayhan Faizel wrote: > Add small test case to demonstrate use of usb-net with user networking > backend. > > Signed-off-by: Rayhan Faizel Reviewed-by: Peter Krempa ___ Devel mailing list --

Re: [PATCH 2/3] conf: Improve parsing of usb-net devices

2024-04-02 Thread Peter Krempa
On Tue, Apr 02, 2024 at 02:01:17 +0530, Rayhan Faizel wrote: The summary is misleading, as assigning addresses is distinct from parsing. > This patch will allow usb-net devices to be automatically assigned a USB > address (and skip any attempt to assign a PCI one). > > Signed-off-by: Rayhan

Re: [PATCH 1/3] qemu_capabilities: Re-add QEMU_CAPS_DEVICE_USB_NET capability

2024-04-02 Thread Peter Krempa
On Tue, Apr 02, 2024 at 09:39:59 +0200, Peter Krempa wrote: > On Tue, Apr 02, 2024 at 02:01:16 +0530, Rayhan Faizel wrote: > > This capability was previously prefixed with X_ due to not being in use. > > This was done as all qemu versions do support this device and even when > compiled out

Re: [PATCH 1/3] qemu_capabilities: Re-add QEMU_CAPS_DEVICE_USB_NET capability

2024-04-02 Thread Peter Krempa
On Tue, Apr 02, 2024 at 02:01:16 +0530, Rayhan Faizel wrote: > This capability was previously prefixed with X_ due to not being in use. This was done as all qemu versions do support this device and even when compiled out libvirt has fallback code which tries to use any unknown network device

Re: [PATCH 2/2] virsh: Display more empathy towards inconsolable VMs :(

2024-04-02 Thread Peter Krempa
On Mon, Apr 01, 2024 at 15:58:31 +0200, Andrea Bolognani wrote: > After attempting, and failing, to console a sad VM, we get > back to the user with a fairly sterile message such as > > error: internal error: character device serial0 is not using a PTY > > That doesn't properly communicate the

Re: [PATCH 1/2] virsh: Show 'connected to console' message later

2024-04-02 Thread Peter Krempa
On Mon, Apr 01, 2024 at 15:58:30 +0200, Andrea Bolognani wrote: > Right now, we display the message before actually attempting > to connect to the VM console. That operation, however, can > fail for a number of reasons: for example, is the VM doesn't > have a serial device, the output ends up

Re: [PATCH v2 1/1] remote: properly initialize objects in ACL helpers

2024-04-02 Thread Peter Krempa
On Tue, Mar 19, 2024 at 15:07:04 +0100, Denis V. Lunev wrote: > Commit 2ecdf259299813c2c674377e22a0acbce5ccbbb2 was intended to > implement two things: reduce stack usage inside ACL helpers and > minimally initialize virDomainDef object to avoid passing garbage > inside validation framework.