[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] ui/gtk: new param monitor to specify target monitor for
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 1/3] ui/gtk: new param monitor to specify target monitor for launching QEMU |
Date: |
Tue, 10 May 2022 12:58:10 +0200 |
On Mon, May 09, 2022 at 02:31:05PM -0700, Dongwon Kim wrote:
> Daniel,
>
> I found a way to make the monitor arguments in array type (['uint32']).
> And I know how to retrieve monitor values from it but I could not find
> how to pass the monitor values when starting qemu. Like,
>
> qemu-system-x86_64 ..... gtk,gl=on.....monitor=????
>
> I tried several different things but it keeps getting error saying
> Invalid parameter type, expected 'array'.
>
> Do you know how to pass this arg?
qemu accepts json for -display, that should work:
-display '{ "type": "gtk", "monitor": [ 1, 2 ] }'
Not sure whenever there is some way to specify arrays using
the -display gtk,$options style.
take care,
Gerd