From 68261b20a458fc13a559a58eda3ad93143ef542dcd36d922eaee530b82c5162f Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Sat, 6 Mar 2021 07:37:47 +0000 Subject: [PATCH] Accepting request 877354 from home:cyphar:lxc Support pre-15.3 Leap QEMU package names. OBS-URL: https://build.opensuse.org/request/show/877354 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=78 --- lxd.changes | 3 +++ lxd.spec | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/lxd.changes b/lxd.changes index ae72d95..3dea55b 100644 --- a/lxd.changes +++ b/lxd.changes @@ -13,6 +13,9 @@ Fri Mar 5 16:31:52 UTC 2021 - Aleksa Sarai * Initial auto-generated REST-API documentation + VM: Stateful stop and stateful snapshots for virtual machines +- Updated packaging to support VMs, though note that LXD's usage of QEMU causes + issues with QEMU 5.2 on openSUSE (because of how we package it). See + for more details. bsc#1181549 ------------------------------------------------------------------- Fri Feb 5 07:41:04 UTC 2021 - Aleksa Sarai diff --git a/lxd.spec b/lxd.spec index eab4ae1..34b194c 100644 --- a/lxd.spec +++ b/lxd.spec @@ -72,7 +72,13 @@ Requires: xz # Needed for VM support. Requires: qemu-ovmf-x86_64 BuildRequires: qemu-ovmf-x86_64 +# QEMU spice became a separate package for QEMU 5.2, which is not in Leap 15.2. +# But it exists in Tumbleweed so only require this in Tumbleweed. +%if 0%{?suse_version} > 1500 || 0%{?sle_version} == 150300 Requires: qemu-ui-spice-core +%else +Requires: qemu-ui-spice-app +%endif Requires: qemu-x86 # Storage backends -- we don't recommend ZFS since it's not *technically* a # blessed configuration.