Am 14.12.2016 um 15:25 schrieb Stefan Hajnoczi: > The "Copy" menu item copies VTE terminal text to the clipboard. This > only works with VTE terminals, not with graphics consoles. > > Disable the menu item when the current notebook page isn't a VTE > terminal. > > This patch fixes a segfault. Reproducer: Start QEMU and click the Copy > menu item when the guest display is visible. > > Reported-by: Kevin Wolf <kw...@redhat.com> > Cc: Michael S. Tsirkin <m...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > ui/gtk.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > Gerd, Michael: if you post Reviewed-by I can merge this directly without > requiring you to send a pull request. It's a user interface segfault so it > would be nice to resolve it in QEMU 2.8. >
Tested-by: Stefan Weil <s...@weilnetz.de> CC'ing QEMU-stable because I think that 2.7 needs that fix, too. Stefan