Package: simple-cdd
Version: 0.6.6
Severity: normal

Dear Maintainer,

At the very end of the detailed example (simple-cdd.conf.detailed.gz)
the following appears:

        # memory available within qemu, in MB
        #mem=96

        # additional options that get passed to qemu
        #qemu_opts="-std-vga"

But these options have no effect at all.

Looking at the run_qemu() function in build-simple-cdd it appears that
this is not implemented. qemu_opts is a blank list, while 'mem' there's
a comment that looks like it comes from a previous shell script base
version, but never got implemented.

While it remains not implemented, the sample file should state so.
Though I'm not sure why it's not implemented, from a quick grasp of the
code, it looks like the commented section should read:

        if self.env.get('mem'):
            qemu_opts.append('-m')
            qemu_opts.append(self.env['mem'])

I'm filing 'Severity: normal' but beware that the qemu defaults (atleast on my
system) imply so little memory that when the image launches the first
you get is a d-i warning about not enough memory. So it might be major.

Best,
marc


-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simple-cdd depends on:
ii  dctrl-tools         2.24-3
ii  debian-cd           3.1.23
ii  lsb-release         10.2019031300
ii  python3             3.7.2-1
ii  python3-simple-cdd  0.6.6
ii  reprepro            5.3.0-1
ii  rsync               3.1.3-6
ii  wget                1.20.1-1.1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  5.0.1-12

Versions of packages simple-cdd suggests:
ii  qemu-kvm  1:3.1+dfsg-7

-- no debconf information

Reply via email to