From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f2sm14607959wmh.27.2017.05.09.00.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 May 2017 00:35:29 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTPS id DC2E53E01CB; Tue, 9 May 2017 08:36:09 +0100 (BST) References: User-agent: mu4e 0.9.19; emacs 25.2.17 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: heut2008@gmail.com Cc: qemu-arm@nongnu.org Subject: Re: [Qemu-arm] Qemu qxl support on arm64 issue In-reply-to: Date: Tue, 09 May 2017 08:36:09 +0100 Message-ID: <87lgq68ot2.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-TUID: +ifLt5f5Tcfr Yaguang Tang writes: > Hi all, > > I am trying to make openstack work on arm64, when setting spice for VM, > qemu complains that qxl is not available, my env: > > qemu 2.8 compiled with the following: > > ./configure --enable-spice --enable-kvm --target-list=aarch64-softmmu > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LANG = "en_US.UTF-8" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > Install prefix /usr/local > BIOS directory /usr/local/share/qemu > binary directory /usr/local/bin > library directory /usr/local/lib > module directory /usr/local/lib/qemu > libexec directory /usr/local/libexec > include directory /usr/local/include > config directory /usr/local/etc > local state directory /usr/local/var > Manual directory /usr/local/share/man > ELF interp prefix /usr/gnemul/qemu-%M > Source path /home/etos/git/qemu > C compiler cc > Host C compiler cc > C++ compiler c++ > Objective-C compiler cc > ARFLAGS rv > CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g > QEMU_CFLAGS -I/usr/include/pixman-1 -Werror > -DHAS_LIBSSH2_SFTP_FSYNC -pthread -I/usr/include/glib-2.0 > -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes > -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes > -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels > -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security > -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration > -Wold-style-definition -Wtype-limits -fstack-protector-strong > -I/usr/include/p11-kit-1 -I/usr/include/libpng12 -pthread > -I/usr/local/include/spice-server -I/usr/local/include/spice-1 > -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include > -I/usr/include/pixman-1 -I/usr/include/libusb-1.0 > LDFLAGS -Wl,--warn-common -g > make make > install install > python python -B > smbd /usr/sbin/smbd > module support no > host CPU aarch64 > host big endian no > target list aarch64-softmmu > tcg debug enabled no > gprof enabled no > sparse enabled no > strip binaries yes > profiler no > static build no > pixman system > SDL support yes (1.2.15) > GTK support no > GTK GL support no > VTE support no > TLS priority NORMAL > GNUTLS support yes > GNUTLS rnd yes > libgcrypt no > libgcrypt kdf no > nettle yes (3.3) > nettle kdf yes > libtasn1 yes > curses support no > virgl support yes > curl support yes > mingw32 support no > Audio drivers oss > Block whitelist (rw) > Block whitelist (ro) > VirtFS support yes > VNC support yes > VNC SASL support yes > VNC JPEG support yes > VNC PNG support yes > xen support no > brlapi support yes > bluez support yes > Documentation yes > PIE no > vde support yes > netmap support no > Linux AIO support yes > ATTR/XATTR support yes > Install blobs yes > KVM support yes > HAX support no > RDMA support no > TCG interpreter no > fdt support yes > preadv support yes > fdatasync yes > madvise yes > posix_madvise yes > libcap-ng support yes > vhost-net support yes > vhost-scsi support yes > vhost-vsock support yes > Trace backends log > spice support yes (0.12.13/0.13.3.311-1b9c-dirty) > rbd support yes > xfsctl support yes > smartcard support no > libusb yes > usb net redir yes > OpenGL support no > OpenGL dmabufs no > libiscsi support yes > libnfs support no > build guest agent yes > QGA VSS support no > QGA w32 disk info no > QGA MSI support no > seccomp support yes > coroutine backend ucontext > coroutine pool yes > debug stack usage no > GlusterFS support no > gcov gcov > gcov enabled no > TPM support yes > libssh2 support yes > TPM passthrough no > QOM debugging yes > lzo support yes > snappy support no > bzip2 support no > NUMA host support no > tcmalloc support no > jemalloc support no > avx2 optimization no > replication support yes > VxHS block device no > > start a vm as follow: > > qemu-system-aarch64 --enable-kvm --nographic -machine virt --kernel > cirros-d161201-aarch64-vmlinuz --initrd cirros-d161201-aarch64-initrd > --spice port=5900,disable-ticketing -cpu host -vga qxl > > Is there anything I am missing or wrong ? What error does it give? Regardless I think -vga is a legacy option for x86. If you want a display adaptor for an ARM vm machine you'll need to instantiate virtio-gpu device and then connect it to your spice display. -- Alex Bennée