Re: virt-manager & bnetworking

2023-07-10 Thread ToddAndMargo
On 7/14/22 10:43, Sbob wrote: All; I am new to virt-manager & friends. I have setup virt-manager & I thought created a virtual network but I have no connectivity from my linux guest. Can someone point me to a guide for setting up networking properly for virt-manager? Thanks in advance F

[virt-tools-list] [virt-manager] [PATCH 3/7] virtinst/guest: Use tpm 1.2 if 2.0 isn't in domcapabilities

2023-07-10 Thread Lin Ma
The swtpm(tpm emulator) advertises the TPM version since v0.7.0. Libvirt reports this information in domcaps since v8.6.0. By commit eb58c09f, virt-install adds an emulated TPM device if UEFI is present. If the tpm emulator isn't capable of 2.0, We should use tpm 1.2 instead of the default(2.0), O

[virt-tools-list] [virt-manager] [PATCH 2/7] domcaps: tpm: Add function supports_tpm_v2()

2023-07-10 Thread Lin Ma
It returns true if libvirt advertises tpm 2.0 in domcaps. Signed-off-by: Lin Ma --- virtinst/domcapabilities.py | 8 1 file changed, 8 insertions(+) diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py index db08bf65..34d762ae 100644 --- a/virtinst/domcapabilities.py

[virt-tools-list] [virt-manager] [PATCH 4/7] cli: Add kvm.pv-ipi.state to --features

2023-07-10 Thread Lin Ma
Set kvm pv-ipi feature by --features argument. E.g. virt-install --features kvm.pv-ipi.state=off It results in the following domain xml: Signed-off-by: Lin Ma --- tests/data/cli/compare/virt-install-many-devices.xml | 1 + tests/data/xmlparse/change-guest-out.xml

[virt-tools-list] [virt-manager] [PATCH 5/7] cli: Add --memdev target.address_base for virtio-mem and virtio-pmem

2023-07-10 Thread Lin Ma
Libvirt(since 9.4.0) allows to control this attribute for virtio-{mem,pmem}. Now add it into virt-install. Example: virt-install \ --name test \ --os-variant opensusetumbleweed \ --cdrom /isos/openSUSE-Tumbleweed-DVD-x86_64-Current.iso \ --disk /vms/tw/disk0.qcow2 \ --vcpu 2 \ --cpu cell0.cpus=0,c

[virt-tools-list] [virt-manager] [PATCH 1/7] tests: Check missing_xorriso in osinfo-netinst-unattended test case

2023-07-10 Thread Lin Ma
It avoids failure in case of missing xorriso. Signed-off-by: Lin Ma --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 9814bea9..7c7f33a1 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1063,7 +1063,7 @

[virt-tools-list] [virt-manager] [PATCH 7/7] cli: Add --disk driver.discard_no_unref=on option

2023-07-10 Thread Lin Ma
E.g. virt-install \ ... \ --disk /tmp/disk0.qcow2,size=16,driver.type=qcow2,driver.discard=unmap,\ driver.discard_no_unref=on It results in the following domain xml: Signed-off-by: Lin Ma --- tests/data/cli/compare/virt-install-many-devices.xml | 5 +

[virt-tools-list] [virt-manager] [PATCH 6/7] cli: Add 'blob' to virtio video device

2023-07-10 Thread Lin Ma
Libvirt enables blob resources for the virtio video device since 9.2.0. It accelerates the display path due to less or no copying of pixel data. E.g. virt-install \ ... \ --video model.type=virtio,blob=on It results in the following domain xml: Signed-off-by: Lin Ma ---

[virt-tools-list] [virt-manager] [PATCH 0/7] Some improvements for virt-install

2023-07-10 Thread Lin Ma
This patchset adds some features for virt-install Lin Ma (7): tests: Check missing_xorriso in osinfo-netinst-unattended test case domcaps: tpm: Add function supports_tpm_v2() virtinst/guest: Use tpm 1.2 if 2.0 isn't in domcapabilities cli: Add kvm.pv-ipi.state to --features cli: Add --me

Re: LIBVIRT_PRIVATE missing

2023-07-10 Thread Michal Prívozník
On 7/9/23 01:30, ToddAndMargo wrote: > Hi All, > > Fedora 38 > libvirt-daemon-9.0.0-3.fc38.x86_64 > > Anyone know how to fix this? > > # libvirtd --deamon > libvirtd: /lib64/libvirt.so.0: version `LIBVIRT_PRIVATE_9.0.0' not found > (required by libvirtd) > > Many thanks, > -T > Sounds like a

Re: GPG keys problem

2023-07-10 Thread Pavel Hrdina
On Fri, Jul 07, 2023 at 03:52:33PM -0700, Todd And Margo Chester wrote: > Hi All, > > I just updated to Fedora 38 from 37. > > When I do a `# dns update`, my screen gets filled > with the following (about 20 of them): > > Public key for qemu-user-8.0.0-4.fc37.x86_64.rpm is not trusted. Failing >

GPG keys problem

2023-07-10 Thread Todd And Margo Chester
Hi All, I just updated to Fedora 38 from 37. When I do a `# dns update`, my screen gets filled with the following (about 20 of them): Public key for qemu-user-8.0.0-4.fc37.x86_64.rpm is not trusted. Failing package is: qemu-user-2:8.0.0-4.fc37.x86_64 GPG Keys are configured as: https://downl