Package: qemu-system-x86
Version: 1:2.12+dfsg-1+b1
Severity: normal
Tags: patch

Hi,

gnome-boxes currently fails to start VMs like

(gnome-boxes:20770): Boxes-WARNING **: 17:06:48.839: wizard.vala:267: Unable to 
start domain: internal error: process exited while connecting to monitor: 
2018-05-24T15:06:48.769877Z qemu-system-x86_64: -device 
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0: 
ccid-card-passthru: initing chardev

The command line generated looks roughly like this:

$ /usr/bin/kvm -name guest=debian9-univ,debug-threads=on -S -machine 
pc-i440fx-2.8,accel=kvm,usb=off,dump-guest-core=off -cpu Westmere -m 214 
-realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid 
fcae4530-e1b4-49a1-adba-e3c3d6b9e5d6 -no-user-config -nodefaults -rtc 
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet 
-no-reboot -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot 
strict=on -kernel /home/agx/.cache/gnome-boxes/debian9-univ-kernel -initrd 
/home/agx/.cache/gnome-boxes/debian9-univ-initrd -append ' 
keyboard-configuration/xkb-keymap=us debconf/priority=critical' -device 
ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device 
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -device 
usb-ccid,id=ccid0,bus=usb.0,port=3 -device usb-hub,id=hub0,bus=usb.0,port=1 
-chardev spicevmc,id=charsmartcard0,name=smartcard -device 
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 -chardev 
pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev 
spicevmc,id=charchannel0,name=vdagent -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
 -chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 -device 
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0
 -device usb-tablet,id=input0,bus=usb.0,port=4 -device 
usb-mouse,id=input1,bus=usb.0,port=5 -device usb-kbd,id=input2,bus=usb.0,port=6 
-spice port=0,disable-ticketing,image-compression=off,seamless-migration=on 
-device 
qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2
 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev 
spicevmc,id=charredir0,name=usbredir -device 
usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1.1 -chardev 
spicevmc,id=charredir1,name=usbredir -device 
usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=1.2 -chardev 
spicevmc,id=charredir2,name=usbredir -device 
usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=1.3 -chardev 
spicevmc,id=charredir3,name=usbredir -device 
usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=1.4 -msg timestamp=on

Giving this outuput (and an exit status of 1):

2018-05-24T15:09:14.273975Z qemu-system-x86_64: -chardev pty,id=charserial0: 
char device redirected to /dev/pts/11 (label charserial0)
2018-05-24T15:09:14.303045Z qemu-system-x86_64: -device 
ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0: 
ccid-card-passthru: initing chardev

This seems fixed by e58d64a16abc2304c4dcb644411eb9580bf63b1e

commit e58d64a16abc2304c4dcb644411eb9580bf63b1e
Author: Marc-André Lureau <[email protected]>
Date:   Tue May 15 17:30:39 2018 +0200

    ccid-card-passthru: fix regression in realize()
    
    Since cc847bfd16d894fd8c1a2ce25f31772f6cdbbc74, CCID card-passthru
    fails to intialize, because it changed a debug line to an error,
    probably by mistake. Change it back to a DPRINTF debug.
    
    (solves Boxes creating VM with smartcard passthru failing to start)
    
    Signed-off-by: Marc-André Lureau <[email protected]>
    Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
    Message-id: [email protected]
    Signed-off-by: Gerd Hoffmann <[email protected]>

Cheers,
 -- Guido


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-updates'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qemu-system-x86 depends on:
ii  ipxe-qemu           1.0.0+git-20161027.b991c67-1
ii  libaio1             0.3.111-1
ii  libasound2          1.1.3-5
ii  libbluetooth3       5.49-1
ii  libbrlapi0.6        5.6-3
ii  libc6               2.27-3
ii  libcacard0          1:2.5.3-1
ii  libcairo2           1.15.10-3
ii  libcapstone3        3.0.4-5
ii  libfdt1             1.4.6-1
ii  libgcc1             1:8.1.0-1
ii  libgdk-pixbuf2.0-0  2.36.11-2
ii  libglib2.0-0        2.56.0-4
ii  libgnutls30         3.5.18-1
ii  libgtk-3-0          3.22.30-1
ii  libjpeg62-turbo     1:1.5.2-2+b1
ii  libncursesw6        6.1+20180210-2
ii  libnettle6          3.4-1
ii  libnuma1            2.0.11-2.2
ii  libpixman-1-0       0.34.0-2
ii  libpng16-16         1.6.34-1
ii  libpulse0           11.1-5
ii  libsasl2-2          2.1.27~101-g0780600+dfsg-3.1
ii  libseccomp2         2.3.3-2
ii  libspice-server1    0.14.0-1
ii  libtinfo6           6.1+20180210-2
ii  libusb-1.0-0        2:1.0.22-2
ii  libusbredirparser1  0.7.1-1
ii  libvdeplug2         2.3.2+r586-2.1
ii  libvte-2.91-0       0.52.0-1
ii  libx11-6            2:1.6.5-1
ii  libxen-4.8          4.8.3+comet2+shim4.10.0+comet3-1+deb9u5
ii  libxenstore3.0      4.8.3+comet2+shim4.10.0+comet3-1+deb9u5
ii  qemu-system-common  1:2.12+dfsg-1
ii  seabios             1.11.1-1
ii  zlib1g              1:1.2.11.dfsg-1

Versions of packages qemu-system-x86 recommends:
ii  qemu-utils  1:2.12+dfsg-1

Versions of packages qemu-system-x86 suggests:
ii  ovmf              0~20180503.ebafede9-1
pn  qemu-block-extra  <none>
pn  samba             <none>
ii  sgabios           0.0~svn8-4
pn  vde2              <none>

-- no debconf information

Reply via email to