Re: [PATCH 10/12] qemu: fail validation if a domain def has vhostuser/passt but no shared mem

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: This can/should also be done for a traditional vhost-user interface (ie not backend type='passt') but that will be a separate change. Signed-off-by: Laine Stump --- src/qemu/qemu_validate.c | 9 ++- ...vhostuser-passt-no-shmem.x86_6

Re: [PATCH 12/12] docs: document using passt backend with

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: Almost everything is already there (in the section for using passt with type='user'), so we just need to point to that from the type='vhostuser' section (and vice versa), and add a bit of glue. Also updated a few related details that have changed (e.g. d

Re: [PATCH 09/12] qemu: complete vhostuser + passt support

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: needs to run the passt command just as is done for interface type='user', but then add vhostuser bits to the qemu commandline/monitor command. There are some changes to the parsing/validation along with changes to the vhostuser codepath do do the extra

Re: [PATCH 11/12] docs: improve type='user' docs to higlight differences between SLIRP and passt

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: This reorganizes the section about and describes the differences in behavior between SLIRP and passt. Resolves: https://issues.redhat.com/browse/RHEL-46601 Signed-off-by: Laine Stump --- docs/formatdomain.rst | 116 -

Re: [PATCH 13/12] news: include info about supporting vhostuser+passt combination

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: Signed-off-by: Laine Stump --- NEWS.rst | 8 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 4fc8a3bba0..7984f358f3 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -54,6 +54,14 @@ v11.1.0 (unreleased) The virtio-mem model of `

Re: [PATCH 00/12] [PATCH v2 00/12] qemu: support passt as a backend for vhost-user network interfaces

2025-02-15 Thread Ján Tomko
On a Saturday in 2025, Laine Stump wrote: Oops - sorry, I had recreated my branch so git-publish didn't recognize the series as a v2, so all the subject lines are missing v2 :-/. Hopefully this won't cause too much confusion. On 2/15/25 12:20 AM, Laine Stump wrote: [...] Laine Stump (12):

[PATCH v1 1/3] libvirt: Add virDomainSetVcpuTuneParameters API

2025-02-15 Thread yong . huang
From: Hyman Huang Introduce virDomainSetVcpuTuneParameters API to support tunables of virtual CPUs. Signed-off-by: Hyman Huang --- include/libvirt/libvirt-domain.h | 13 src/driver-hypervisor.h | 8 + src/libvirt-domain.c | 56

[PATCH v1 2/3] qemu_driver: Implement qemuDomainSetVcpuTuneParameters

2025-02-15 Thread yong . huang
From: Hyman Huang Support hotplug/hotunplug of virtual CPU by wrapping the existing interface qemuDomainSetVcpu. Signed-off-by: Hyman Huang --- include/libvirt/libvirt-domain.h | 12 src/qemu/qemu_driver.c | 29 + 2 files changed, 41 insertion

[PATCH v1 0/3] Introduce qemuDomainSetVcpuTuneParameters API

2025-02-15 Thread yong . huang
From: Hyman Huang This patchset is the prerequisite for the vCPU dirty-limit feature: https://patchew.org/Libvirt/cover.1703135535.git.yong.hu...@smartx.com/ As suggested by Daniel: We've generally tried to avoid adding single purpose APIs for tunable parameters, instead using APIs with virType

Re: [PATCH 00/12] [PATCH v2 00/12] qemu: support passt as a backend for vhost-user network interfaces

2025-02-15 Thread Laine Stump
Oops - sorry, I had recreated my branch so git-publish didn't recognize the series as a v2, so all the subject lines are missing v2 :-/. Hopefully this won't cause too much confusion. On 2/15/25 12:20 AM, Laine Stump wrote: Changes from V1: * fixed missing change to error log message

[PATCH 13/12] news: include info about supporting vhostuser+passt combination

2025-02-15 Thread Laine Stump
Signed-off-by: Laine Stump --- NEWS.rst | 8 1 file changed, 8 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 4fc8a3bba0..7984f358f3 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -54,6 +54,14 @@ v11.1.0 (unreleased) The virtio-mem model of device can now be used with s390

[PATCH v1 3/3] virsh: Use the new API to implement cmdSetvcpu

2025-02-15 Thread yong . huang
From: Hyman Huang Signed-off-by: Hyman Huang --- tools/virsh-domain.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index f3da2f903f..83db56460b 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -7345,6 +7