Package: qemu-system-x86
Version: 1:3.1+dfsg-8
Severity: wishlist
Tags: patch

Hi!
As described in docs/nvdimm.txt, to ensure proper flushing of persistent
memory writes, qemu needs to be built against libpmem.  Without that, there
may be data loss upon unexpected power loss.

The patch is:

diff --git a/debian/control-in b/debian/control-in
index 7e3379d631..de1f52b6f6 100644
--- a/debian/control-in
+++ b/debian/control-in
@@ -105,6 +105,8 @@ Build-Depends: debhelper (>= 11),
  libjpeg-dev,
 # --enable-vnc-png
  libpng-dev,
+# --enable-libpmem
+ libpmem-dev [amd64 arm64],
 # --enable-kvm         linux-*
 # --enable-vhost-net   linux-* # is it really linux-specific?
 ##--enable-lzo todo


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-rc5-00033-gfe0884fa397a (SMP w/64 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages qemu-system-x86 depends on:
ii  ipxe-qemu             1.0.0+git-20190125.36a4c85-1
ii  libaio1               0.3.112-5
ii  libasound2            1.1.8-1
ii  libbluetooth3         5.50-1+b1
ii  libbrlapi0.6          5.6-11
ii  libc6                 2.28-10
ii  libcacard0            1:2.6.1-1
ii  libcapstone3          4.0.1+really+3.0.5-1+b1
ii  libepoxy0             1.5.3-0.1
ii  libfdt1               1.5.0-2
ii  libgbm1               19.1.4-1
ii  libgcc1               1:9.2.1-2
ii  libglib2.0-0          2.60.6-2
ii  libgnutls30           3.6.9-4
ii  libibverbs1           24.0-2
ii  libjpeg62-turbo       1:1.5.2-2+b1
ii  libncursesw6          6.1+20190803-1
ii  libnettle6            3.4.1-1+b1
ii  libnuma1              2.0.12-1+b1
ii  libpixman-1-0         0.36.0-1
ii  libpmem1              1.6-5
ii  libpng16-16           1.6.37-1
ii  librdmacm1            24.0-2
ii  libsasl2-2            2.1.27+dfsg-1
ii  libseccomp2           2.4.1-2
ii  libspice-server1      0.14.0-1.3
ii  libtinfo6             6.1+20190803-1
ii  libusb-1.0-0          2:1.0.22-2
ii  libusbredirparser1    0.8.0-1+b1
ii  libvdeplug2           2.3.2+r586-2.2+b1
ii  libvirglrenderer0     0.7.0-2
ii  libxendevicemodel1    4.11.1+92-g6c33308a8d-2
ii  libxenevtchn1         4.11.1+92-g6c33308a8d-2
ii  libxenforeignmemory1  4.11.1+92-g6c33308a8d-2
ii  libxengnttab1         4.11.1+92-g6c33308a8d-2
ii  libxenmisc4.11        4.11.1+92-g6c33308a8d-2
ii  libxenstore3.0        4.11.1+92-g6c33308a8d-2
ii  libxentoolcore1       4.11.1+92-g6c33308a8d-2
ii  qemu-system-common    1:3.1+dfsg-8.0kb1
ii  qemu-system-data      1:3.1+dfsg-8.0kb1
ii  seabios               1.12.0-1
ii  zlib1g                1:1.2.11.dfsg-1+b1

Versions of packages qemu-system-x86 recommends:
ii  ovmf             0~20190606.20d2e5a1-2
ii  qemu-system-gui  1:3.1+dfsg-8
ii  qemu-utils       1:3.1+dfsg-8

Versions of packages qemu-system-x86 suggests:
pn  qemu-block-extra  <none>
pn  samba             <none>
pn  sgabios           <none>
pn  vde2              <none>

-- no debconf information

Reply via email to