cloud-hypervisor/vm-virtio/src
fazlamehrab df5058ec0a vm-virtio: Implement console size config feature
One of the features of the virtio console device is its size can be
configured and updated. Our first iteration of the console device
implementation is lack of this feature. As a result, it had a
default fixed size which could not be changed. This commit implements
the console config feature and lets us change the console size from
the vmm side.

During the activation of the device, vmm reads the current terminal
size, sets the console configuration accordinly, and lets the driver
know about this configuration by sending an interrupt. Later, if
someone changes the terminal size, the vmm detects the corresponding
event, updates the configuration, and sends interrupt as before. As a
result, the console device driver, in the guest, updates the console
size.

Signed-off-by: A K M Fazla Mehrab <fazla.mehrab.akm@intel.com>
2019-08-09 13:55:43 -07:00
..
transport vm-virtio: Don't trigger an MSI-X interrupt if not enabled 2019-08-08 17:38:47 +01:00
block.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00
console.rs vm-virtio: Implement console size config feature 2019-08-09 13:55:43 -07:00
device.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00
fs.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00
lib.rs vm-virtio: Implement console size config feature 2019-08-09 13:55:43 -07:00
net.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00
pmem.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00
queue.rs vmm: Add MSI-X support to virtio-pci devices 2019-06-06 15:27:35 +01:00
rng.rs build, misc: Bump vmm-sys-util dependency 2019-08-02 07:42:20 -07:00