ui/console: update the head from unused QemuConsole
commit7fa4b8041b870951642515e0954d274ec4d599b1
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:37:58 +0000 (30 13:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 4 Sep 2023 09:52:16 +0000 (4 13:52 +0400)
tree00c8b2b4a3a27de893307137caa052fa2566ef5a
parentf9411aaebd99e1efb04f0d32f01b37467e43b6a0
ui/console: update the head from unused QemuConsole

When recycling unused QemuConsole, we should still set the associated
head number for correct information and lookups.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-25-marcandre.lureau@redhat.com>
ui/console.c