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 <[email protected]>
> Cc: Michael S. Tsirkin <[email protected]>
> Cc: Gerd Hoffmann <[email protected]>
> Signed-off-by: Stefan Hajnoczi <[email protected]>
> ---
>  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 <[email protected]>

CC'ing QEMU-stable because I think that 2.7 needs that fix, too.

Stefan



Reply via email to