[Spice-devel] [PATCH spice-server] Mention vmport in user manual

Victor Toso victortoso at redhat.com
Thu Oct 5 08:09:03 UTC 2017


Hi,

On Wed, Oct 04, 2017 at 04:09:19PM +0000, Jonathon Jongsma wrote:
> For server mode mouse to work properly with spice, vmport must be
> disabled in qemu. To do this, we need to pass vmport=off to the -machine
> option.

looks good,
Acked-by: Victor Toso <victortoso at redhat.com>

> ---
>  docs/manual/manual.txt | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
> index 2dcc6182a..df3c17d7c 100644
> --- a/docs/manual/manual.txt
> +++ b/docs/manual/manual.txt
> @@ -240,7 +240,8 @@ population. I assume that you have a locally stored ISO of your
>  favourite operating system so you can use it for installation.
>  
>  [source,sh]
> -host$ qemu-kvm -boot order=dc -vga qxl \
> +host$ qemu-kvm -machine vmport=off \
> +        -boot order=dc -vga qxl \
>          -spice port=3001,disable-ticketing -soundhw hda \
>          -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
>          -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
> @@ -248,9 +249,11 @@ host$ qemu-kvm -boot order=dc -vga qxl \
>  
>  
>  Let's take a brief look at the qemu options that were used. The option
> -`-boot order=dc` specifies that the guest system should try to boot
> -from the first cdrom and then fallback to the first disk, `-vga qxl`
> -specifies that qemu uses a qxl graphics device.
> +`-machine vmport=off` disables VMWare IO port emulation, which is
> +necessary for server mode mouse to work properly with spice. The option `-boot
> +order=dc` specifies that the guest system should try to boot from the first
> +cdrom and then fallback to the first disk, `-vga qxl` specifies that qemu uses
> +a qxl graphics device.
>  
>  The Spice `port` option defines what port will be used for
>  communication with the client. The Spice option `disable-ticketing` is
> -- 
> 2.13.5
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171005/48c3305f/attachment.sig>


More information about the Spice-devel mailing list