qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/9] add virtio-gpu with 2d support


From: Christopher Covington
Subject: Re: [Qemu-devel] [PATCH 0/9] add virtio-gpu with 2d support
Date: Mon, 23 Mar 2015 16:19:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0

Hi Gerd,

This looks great, thanks for your work on this. Unfortunately, I'm seeing the
segfault below.

Alex, do you have any thoughts on how well this might be able to replace the
Goldfish Framebuffer on the Android Emulator?

On 03/13/2015 05:47 AM, Gerd Hoffmann wrote:
>   Hi,
> 
> Next round of virtio-gpu patches.  Patches 1-8 are meant to be merged,
> patch 9 is a hack to simplify testing with libvirt and will not be
> merged.
> 
> Changes since the RfC submission earlier this month are a bunch of
> sanity checks being added (mostly pointed out by max) and the
> virtio-1.0 adaptions are squashed in now.
> 
> This series depends on virtio 1.0 patches still not merged.
> 
> This series is also available via git:
>   git://git.kraxel.org/qemu tags/virtio-gpu-2015-03-13
> 
> The virtio patches are here (mst's virtio-1.0 branch, rebased to master):
>   git://git.kraxel.org/qemu tags/virtio-mst-rebased-2015-03-13
> 
> Guest kernel driver is here:
>   git://git.kraxel.org/linux virtio-gpu
> 
> Usage:
>   qemu-system-x86_64 -vga virtio [ ... ]
>   qemu-system-x86_64 -device virtio-vga [ ... ]
>   qemu-system-ppc64 -M pseries -device virtio-gpu-pci [ ... ]
>   qemu-system-arm -M virt -device virtio-gpu-device [ ... ]

git remote add kraxel git://git.kraxel.org/qemu
git fetch kraxel
git checkout tags/virtio-gpu-2015-03-13
./configure --target-list=aarch64-softmmu
make -j 12
gdb --args aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57 \
  -device virtio-gpu-device
[...]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7fb0ac0 (LWP 26568)]
gd_switch (dcl=0x5555563285d0, surface=0x0) at ui/gtk.c:565
565         trace_gd_switch(vc->label, surface_width(surface), surface_heigh
t(surface));
(gdb) bt
#0  gd_switch (dcl=0x5555563285d0, surface=0x0) at ui/gtk.c:565
#1  0x00005555558ba706 in register_displaychangelistener (
    dcl=0x5555563285d0) at ui/console.c:1353
#2  0x00005555558dcd80 in gd_vc_gfx_init (view_menu=0x555556bf4220,
    group=<optimized out>, idx=<optimized out>, con=0x555556333de0,
    vc=0x555556328598, s=0x555556328470) at ui/gtk.c:1705
#3  gd_create_menu_view (s=0x555556328470) at ui/gtk.c:1781
#4  gd_create_menus (s=0x555556328470) at ui/gtk.c:1807
#5  gtk_display_init (ds=<optimized out>, full_screen=false,
    grab_on_hover=false) at ui/gtk.c:1894
#6  0x0000555555609247 in main (argc=<optimized out>,
    argv=<optimized out>, envp=<optimized out>) at vl.c:4292

Thanks,
Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project



reply via email to

[Prev in Thread] Current Thread [Next in Thread]