2019-02-22 16:04:35 +00:00
|
|
|
[package]
|
|
|
|
name = "vmm"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2019-09-03 13:54:06 +00:00
|
|
|
[features]
|
2019-09-05 15:29:55 +00:00
|
|
|
default = []
|
2019-11-06 17:20:55 +00:00
|
|
|
acpi = ["acpi_tables","devices/acpi"]
|
2019-09-11 16:07:33 +00:00
|
|
|
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
2019-09-11 16:25:07 +00:00
|
|
|
mmio_support = ["vm-virtio/mmio_support"]
|
2019-10-02 14:21:54 +00:00
|
|
|
cmos = ["devices/cmos"]
|
2019-09-03 13:54:06 +00:00
|
|
|
|
2019-02-22 16:04:35 +00:00
|
|
|
[dependencies]
|
2019-09-03 13:54:06 +00:00
|
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
2019-02-28 13:16:58 +00:00
|
|
|
arch = { path = "../arch" }
|
2019-03-07 13:56:43 +00:00
|
|
|
devices = { path = "../devices" }
|
2019-11-08 17:49:51 +00:00
|
|
|
epoll = ">=4.0.1"
|
2019-08-02 11:02:17 +00:00
|
|
|
kvm-bindings = "0.1.1"
|
2019-06-03 21:09:01 +00:00
|
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "master" }
|
2019-09-18 09:14:49 +00:00
|
|
|
lazy_static = "1.4.0"
|
2019-08-16 06:56:11 +00:00
|
|
|
libc = "0.2.62"
|
2019-08-02 11:02:17 +00:00
|
|
|
log = "0.4.8"
|
2019-10-04 12:24:35 +00:00
|
|
|
micro_http = { git = "https://github.com/firecracker-microvm/firecracker", branch = "master" }
|
2019-05-09 15:01:42 +00:00
|
|
|
net_util = { path = "../net_util" }
|
2019-09-11 16:07:33 +00:00
|
|
|
pci = {path = "../pci", optional = true}
|
2019-04-29 19:32:56 +00:00
|
|
|
qcow = { path = "../qcow" }
|
2019-09-27 09:40:50 +00:00
|
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
|
|
serde_derive = ">=1.0.27"
|
|
|
|
serde_json = ">=1.0.9"
|
2019-09-11 16:07:33 +00:00
|
|
|
vfio = { path = "../vfio", optional = true }
|
2019-05-06 17:27:40 +00:00
|
|
|
vm-allocator = { path = "../vm-allocator" }
|
2019-10-07 17:48:44 +00:00
|
|
|
vm-virtio = { path = "../vm-virtio" }
|
2019-10-30 16:38:38 +00:00
|
|
|
vmm-sys-util = ">=0.1.1"
|
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-07-23 19:18:20 +00:00
|
|
|
signal-hook = "0.1.10"
|
2019-02-22 16:04:35 +00:00
|
|
|
|
2019-06-06 01:51:43 +00:00
|
|
|
[dependencies.linux-loader]
|
2019-06-13 10:07:32 +00:00
|
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
2019-06-10 09:14:02 +00:00
|
|
|
features = ["elf", "bzimage"]
|
2019-06-06 01:51:43 +00:00
|
|
|
|
2019-02-22 16:04:35 +00:00
|
|
|
[dependencies.vm-memory]
|
|
|
|
git = "https://github.com/rust-vmm/vm-memory"
|
|
|
|
features = ["backend-mmap"]
|