[Swan-dev] testing vms to F30

D. Hugh Redelmeier hugh at mimosa.com
Mon Jun 17 17:14:44 UTC 2019

| From: Antony Antony <antony at phenome.org>

| On Mon, Jun 17, 2019 at 02:15:35AM -0400, D. Hugh Redelmeier wrote:
| > | From: Antony Antony <antony at phenome.org>
| > 
| > | KVM_OS=fedora30
| > | KVM_OS_VARIANT = fedora28
| > 
| > What does that mean?

| It means the host is F28 and guests will be F30. 

Why not call them KVM_HOST_OS and KVM_GUEST_OS?  I think that would be
a lot clear.

| It is passed to virt-install
| --os-variant $(KVM_OS_VARIANT)

Oh, I see.  So KVM_GUEST_OS_VARIANT would be a better name for

| KVM/qemu on the host do not recognize F30 as a guest os-variant. It should 
| be OK to force it to F28 if your host is F28. 
| to get a list of supported Fedora variants 
| osinfo-query --fields=short-id,version os vendor="Fedora Project"

My desktop (Fedora 30) supports fedora30 as a variant.

[hugh at redeye libreswan]$ git grep -n KVM_OS | cat
mk/kvm-targets.mk:29:KVM_OS ?= fedora28
mk/kvm-targets.mk:30:include testing/libvirt/$(KVM_OS).mk
mk/kvm-targets.mk:104:KVM_OS_VARIANT ?= $(KVM_OS)
mk/kvm-targets.mk:105:VIRT_OS_VARIANT ?= --os-variant $(KVM_OS_VARIANT)
mk/kvm-targets.mk:111:KVM_BASE_HOST = swan$(KVM_OS)base
mk/kvm-targets.mk:1127:    $(call kvm-var-value,KVM_OS)
testing/libvirt/fedora28.mk:5:KVM_OS_VARIANT ?= fedora26
testing/libvirt/fedora29.mk:5:KVM_OS_VARIANT ?= fedora30
testing/libvirt/fedora30.mk:5:KVM_OS_VARIANT ?= fedora30

Those last three look interesting.  Does fedora 29's kvm understand
variant fedora30?  Surely Fedora 28 understands at least variant fedora28.

More information about the Swan-dev mailing list