qemu-discuss
[Top][All Lists]
Advanced

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

Re: How to replace show-cursor?


From: John Siu
Subject: Re: How to replace show-cursor?
Date: Tue, 7 Apr 2020 12:56:25 -0400

Thank you Peter and Gerd!

Both "-display cocoa,show-cursor=on" and "-display default,show-cursor=on" work. The warning no longer shows.

What is the relationship between "-display" and "-device virtio-vga"? Does setting "-display" affect video performance?

On Tue, Apr 7, 2020 at 5:09 AM Gerd Hoffmann <address@hidden> wrote:
On Tue, Apr 07, 2020 at 09:45:48AM +0100, Peter Maydell wrote:
> On Tue, 7 Apr 2020 at 06:10, John Siu <address@hidden> wrote:
> >
> > I am running qemu on macos host, with Ubuntu desktop as client, Following is my command line:
> >
> > qemu-system-x86_64 \
> > -no-user-config \
> > -nodefaults \
> > -name u64d01 \
> > -show-cursor \
> > -M q35,accel=hvf,usb=off,vmport=off \
> > -m 8192M \
> > -smp 4 \
> > -rtc base=utc,clock=host \
> > -device virtio-blk-pci,drive=ssd1 \
> > -drive id=ssd1,file=/Users/js/code/vm/qemu/u64d01.qcow2,if=none,format=qcow2 \
> > -device virtio-net-pci,netdev=nic1,mac=52:54:98:76:54:33 \
> > -netdev user,id=nic1,ipv4=on,ipv6=on,hostname=u64d01,hostfwd=tcp::2222-:22 \
> > -device virtio-tablet-pci \
> > -device virtio-vga \
> > -device ich9-intel-hda,id=snd,msi=on \
> > -device hda-output,id=snd-codec0,bus=snd.0,cad=0,audiodev=snd0 \
> > -audiodev coreaudio,id=snd0
> >
> > Ubuntu start up. But with following message in host terminal:
> >
> > qemu-system-x86_64: -show-cursor: warning: The -show-cursor option is deprecated, use -display {sdl,gtk},show-cursor=on instead
> >
> > As I am not using "-display" option, how should I replace "-show-cursor" ?
>
> Gerd, this is one of your changes -- could you clarify what the required option
> change is, please? (Ideally when we add this kind of deprecation warning
> it would be clearer about exactly what the required new option is. In this
> case clearly neither 'sdl' nor 'gtk' is relevant and the message didn't account
> for users relying on the default display settings...)

On macos probably "-display cocoa,show-cursor=on".
Using "-display default,show-cursor=on" should work too.
I'll send a patch updating the message.

cheers,
  Gerd


reply via email to

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