Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b76f92e
chore: prepare virtio for multiple transport options
bchalios Apr 16, 2025
6e588c6
chore: avoid IrqTrigger::new().unwrap()
bchalios Apr 23, 2025
c2a6833
refactor: set VirtIO interrupt during activation
bchalios Apr 17, 2025
46937af
virtio: add generic interrupt trait
bchalios Apr 16, 2025
2a6ca42
refactor: use VirtioInterrupt in VirtIO devices
bchalios Apr 22, 2025
a4e4021
vm-device: add vm-device crate to repo
bchalios Apr 29, 2025
eadaba1
refactor(serial): remove generics from SerialDevice
bchalios Apr 24, 2025
536588d
refactor: use vm_device::Bus as the MMIO bus
bchalios Apr 24, 2025
065e368
refactor: simplify creating RTCDevice
bchalios Apr 30, 2025
ee8c804
refactor: use vm_device::Bus for IO bus
bchalios Apr 24, 2025
19cf2d4
refactor: add top-level device manager
bchalios Apr 25, 2025
7266b4b
refactor: simplify creation of I8042 device
bchalios May 7, 2025
db5de04
test: add network interface to test_serial_dos test
bchalios May 12, 2025
17883b1
pci: add pci crate from Cloud Hypervisor
bchalios Apr 28, 2025
64738fb
arch: define 64-bit capable MMIO memory regions
bchalios May 5, 2025
c5fe0d8
refactor: prepare ResourceAllocator for PCIe devices
bchalios May 6, 2025
7e60fc3
pci: add support for PCIe segment
bchalios May 6, 2025
a95316f
pci: add support for ACPI MCFG table
bchalios May 7, 2025
19e0788
pci: define PCI segment in FDT
bchalios May 14, 2025
7a47c5b
pci: make PCIe support optional
bchalios May 13, 2025
0d3975c
pci: add support for snapshotting PCI devices
bchalios May 13, 2025
4f07767
pci: add tests for PCIe root bus
bchalios May 12, 2025
5a97bd9
test: allow `extd_apicid` CPU feature on AMD guests
bchalios May 21, 2025
4305fb7
test: add Rust integration tests for PCI-enabled uVMs
bchalios May 21, 2025
5b64789
test: temporarily disable security A/B tests for PCI uVMs
bchalios May 21, 2025
37833b6
test: update ci artifacts to support PCI devices
Manciukic Nov 13, 2024
d6477fd
chore(pcie): update artifacts to 1.13
Manciukic Mar 10, 2025
0019457
tests: fix MMIO gaps in memory monitor tool
bchalios May 22, 2025
b4a2de1
fix: boottimer device MMIO address
bchalios Jun 4, 2025
d235beb
test: remove logging from memory monitor
bchalios Jun 4, 2025
112b8bd
chore: update kvm and vmm-sys-util dependencies
bchalios May 30, 2025
d11e5da
pci: fixes in PCI crate
bchalios Jun 3, 2025
709e665
vm-device: return reference to EventFd from Interrupt trait
bchalios Jun 10, 2025
3d143dc
cleanup: remove unused code from pci and vm-device crates
bchalios Jun 25, 2025
1188b79
refactor: allow storing Arc<Vm> within Vmm
bchalios Jun 2, 2025
6ea1463
vm: track device interrupts within Vm object
bchalios Jun 2, 2025
dc1f572
interrupts: add support for MSI/MSI-X interrupts
bchalios Jun 3, 2025
4fd4f44
vstate: support serializing interrupts to snapshots
bchalios Jun 10, 2025
38d5271
virtio: initialize queue size with max_size
bchalios Jun 3, 2025
0f79f63
acpi: PCI compatible flags in FADT
bchalios Jun 3, 2025
f62629a
vmm: simplify device errors
bchalios Jun 3, 2025
92ea97f
pci: add virtio-pci transport implementation
bchalios Jun 2, 2025
46eb5f3
seccomp: allow new ioctls for vCPU threads
bchalios Jun 4, 2025
88ca3d5
pci: add unit tests to PciSegment
bchalios Jun 4, 2025
f894249
device_manager: save resource allocator in snapshot
bchalios Jun 5, 2025
3f97840
refactor: VirtIO MMIO persistence logic
bchalios Jun 6, 2025
effb904
pci: support snapshotting VirtIO PCI devices
bchalios Jun 5, 2025
2fc15cb
refactor(vm): move ResourceAllocator inside Vm
bchalios Jun 13, 2025
6a9fd47
refactor(vm): move `Bus` objects to Vm
bchalios Jun 13, 2025
ad926da
arm: support MSI-X on ARM
bchalios Jun 18, 2025
a943f69
test: VirtIO PCI device create and restoration
bchalios Jun 17, 2025
0b68f8f
test: enable PCI microVMs for performance testing
bchalios Jun 20, 2025
f9f0c08
test: remove pci=off default from various parts in tests
bchalios Jun 25, 2025
d9fc9e0
virtio: add kick() method in VirtioDevice trait
bchalios Jun 30, 2025
7375a93
refactor: simplify ResourceAllocator internals
bchalios Jun 30, 2025
3181444
fix(vsock): pass correct index when triggering interrupts
bchalios Jul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 141 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PS4='+\t '

cp -ruv $rootfs/* /

packages="udev systemd-sysv openssh-server iproute2 curl socat python3-minimal iperf3 iputils-ping fio kmod tmux hwloc-nox vim-tiny trace-cmd linuxptp strace"
packages="udev systemd-sysv openssh-server iproute2 curl socat python3-minimal iperf3 iputils-ping fio kmod tmux hwloc-nox vim-tiny trace-cmd linuxptp strace pciutils"

# msr-tools is only supported on x86-64.
arch=$(uname -m)
Expand Down
8 changes: 8 additions & 0 deletions resources/guest_configs/pcie.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CONFIG_BLK_MQ_PCI=y
CONFIG_PCI=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_MSI=y
CONFIG_PCIEPORTBUS=y
CONFIG_VIRTIO_PCI=y
CONFIG_PCI_HOST_COMMON=y
CONFIG_PCI_HOST_GENERIC=y
1 change: 1 addition & 0 deletions resources/overlay/etc/systemd/system/fcnet.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Service]
Type=oneshot
ExecStartPre=/usr/bin/udevadm settle
ExecStart=/usr/local/bin/fcnet-setup.sh
[Install]
WantedBy=sshd.service
2 changes: 1 addition & 1 deletion resources/overlay/usr/local/bin/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// Position on the bus is defined by MMIO_LEN increments, where MMIO_LEN is
// defined as 0x1000 in vmm/src/device_manager/mmio.rs.
#ifdef __x86_64__
#define MAGIC_MMIO_SIGNAL_GUEST_BOOT_COMPLETE 0xd0000000
#define MAGIC_MMIO_SIGNAL_GUEST_BOOT_COMPLETE 0xc0000000
#endif
#ifdef __aarch64__
#define MAGIC_MMIO_SIGNAL_GUEST_BOOT_COMPLETE 0x40000000
Expand Down
Loading
Loading