diff options
| author | Filip Hejsek <filip.hejsek@gmail.com> | 2026-02-23 20:37:02 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-06-10 09:14:02 +0300 |
| commit | b3592a32b34f37874dc94aa1a0d15c4334ed86ca (patch) | |
| tree | 3f325072cc3d329b5a1320e53db2c1dda96c3409 /include/linux/timerqueue.h | |
| parent | 02687282c751a77b774e4a16d5e937c3ecd1731d (diff) | |
| download | linux-b3592a32b34f37874dc94aa1a0d15c4334ed86ca.tar.xz | |
virtio_console: read size from config space during device init
Previously, the size was only read upon receiving the config interrupt.
This interrupt is sent when the size changes. However, we also need to
read the initial size.
Also make sure to only read the size from config if F_SIZE is enabled.
Fixes: 9778829cffd4 ("virtio: console: Store each console's size in the console structure")
Signed-off-by: Filip Hejsek <filip.hejsek@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260223-virtio-console-fix-v1-1-0cf08303b428@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
