mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main: Fix test_valid_vm_config_serial_console
This test has a copy and paste error where the PCI segment ID was being set with no extra segments configured. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -1717,12 +1717,12 @@ mod unit_tests {
|
||||
"--serial",
|
||||
"null",
|
||||
"--console",
|
||||
"tty,pci_segment=1,pci_device_id=7",
|
||||
"tty,pci_segment=0,pci_device_id=7",
|
||||
],
|
||||
r#"{
|
||||
"payload": {"kernel": "/path/to/kernel"},
|
||||
"serial": {"mode": "Null"},
|
||||
"console": {"mode": "Tty", "iommu": false, "pci_segment": 1, "pci_device_id": 7}
|
||||
"console": {"mode": "Tty", "iommu": false, "pci_segment": 0, "pci_device_id": 7}
|
||||
}"#,
|
||||
true,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user