[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vga: add sr_vbe register set
From: |
Thomas Lamprecht |
Subject: |
Re: [Qemu-devel] [PATCH] vga: add sr_vbe register set |
Date: |
Tue, 24 May 2016 12:14:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 05/23/2016 11:39 PM, Thomas Lamprecht wrote:
> Hi,
>
> sorry for the delay.
>
> On 20.05.2016 12:06, Gerd Hoffmann wrote:
>> Hi,
>>
>>> ./x86_64-softmmu/qemu-system-x86_64 -boot d -cdrom
>>> W7SP1_PROFESSIONAL.iso -m 1024 -smp 2 -enable-kvm -cpu host -drive
>>> if=pflash,format=raw,unit=0,readonly,file=OVMF_CODE-pure-efi.fd -drive
>>> if=pflash,format=raw,unit=1,file=/tmp/OVMF_VARS.fd
>> Still not reproduced. Installed win7, then updated with sp1, rebooted,
>> still working fine.
>>
>> Can you double-check you really tested with a fixed qemu version?
>
> I checked on an Arch Host and there I cannot reproduce this, it works
> fine, with and without OVMF.
> Sorry for causing trouble/noise, it seems that the Debian based host
> has here another problem (here it resets constantly with OVMF).
> For a "tested by" (if even wanted) I'd like to recheck on a plain
> Debian Jessie tomorrow, this didn't had any suspicious qemu-vga
> related packages installed or modified but maybe I'm overlooking
> something.
>
I can reproduce it on a pure Debian Jessie system. It works with the
patch and without OVMF but not with OVMF, after the "Windows loading
files" finishes it just resets the VM.
So on Arch I have no problems but on Debian. Kernel 3.16 vs 4.5 and Gcc
4.9 vs 6.1. OVMF was the same version on both, namely 26bd643 pure (from
your repo).
Although the Debian based Proxmox VE Distro has Kernel 4.4 (Ubuntu
Kernel) and there it doesn't works also, GCC is the same there (just for
info).
The used Kernel:
Linux debian-pure 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2
(2016-04-08) x86_64 GNU/Linux
GCC:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10'
--with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.9 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --with-arch-32=i586 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
My command:
./x86_64-softmmu/qemu-system-x86_64 -boot d -cdrom
/mnt/iso/template/iso/W7SP1_PROFESSIONAL.iso -m 2048 -enable-kvm -drive
if=pflash,format=raw,unit=0,readonly,file=/root/OVMF_CODE-pure-efi.fd
-drive if=pflash,format=raw,unit=1,file=/root/OVMF_VARS-pure-efi.fd
My ./configure for this test:
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 /root/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 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g
QEMU_CFLAGS -I/usr/include/pixman-1 -Werror -fPIE -DPIE -m64
-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 -Wendif-labels
-Wmissing-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/libpng12
LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g
make make
install install
python python -B
smbd /usr/sbin/smbd
module support no
host CPU x86_64
host big endian no
target list x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries no
profiler no
static build no
pixman system
SDL support no
GTK support yes
GTK GL support no
GNUTLS support no
GNUTLS hash no
GNUTLS rnd no
libgcrypt no
libgcrypt kdf no
nettle yes (2.7.1)
nettle kdf no
libtasn1 yes
VTE support no
curses support no
virgl support no
curl support no
mingw32 support no
Audio drivers alsa
Block whitelist (rw)
Block whitelist (ro)
VirtFS support no
VNC support yes
VNC SASL support no
VNC JPEG support yes
VNC PNG support yes
xen support no
brlapi support no
bluez support no
Documentation yes
PIE yes
vde support no
netmap support no
Linux AIO support no
ATTR/XATTR support yes
Install blobs yes
KVM support yes
RDMA support no
TCG interpreter no
fdt support yes
preadv support yes
fdatasync yes
madvise yes
posix_madvise yes
sigev_thread_id yes
uuid support yes
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
Trace backends log
spice support no
rbd support no
xfsctl support no
smartcard support no
libusb no
usb net redir no
OpenGL support no
OpenGL dmabufs no
libiscsi support no
libnfs support no
build guest agent yes
QGA VSS support no
QGA w32 disk info no
QGA MSI support no
seccomp support no
coroutine backend ucontext
coroutine pool yes
GlusterFS support no
Archipelago support no
gcov gcov
gcov enabled no
TPM support yes
libssh2 support no
TPM passthrough yes
QOM debugging yes
vhdx yes
lzo support no
snappy support no
bzip2 support no
NUMA host support no
tcmalloc support no
jemalloc support no
avx2 optimization yes