aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-08-30 13:37:45 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-09-04 12:37:59 +0400
commit6657e41cde73597e61c0165da7be7e76f116f342 (patch)
treeecc2083fdaaace1a5affe8d75ec91a36dfad408a /ui
parentdc6984bdc3ebe5357b0c1d983ba4e7689a985f2e (diff)
downloadqemu-6657e41cde73597e61c0165da7be7e76f116f342.zip
qemu-6657e41cde73597e61c0165da7be7e76f116f342.tar.gz
qemu-6657e41cde73597e61c0165da7be7e76f116f342.tar.bz2
ui/vc: VC always has a DisplayState now
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230830093843.3531473-12-marcandre.lureau@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/console.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/console.c b/ui/console.c
index ddec68f..f97db29 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -1067,10 +1067,6 @@ static int vc_chr_write(Chardev *chr, const uint8_t *buf, int len)
QemuConsole *s = drv->console;
int i;
- if (!s->ds) {
- return 0;
- }
-
s->update_x0 = s->width * FONT_WIDTH;
s->update_y0 = s->height * FONT_HEIGHT;
s->update_x1 = 0;