A VM with a VFIO device never exits on SIGTERM sent while the firmware moves its BARs

Đang mở
#9,244 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, rust
Lĩnh vực
infrastructure

Hướng nghiên cứu

Start by tracing the shutdown path around Vm::shutdown in vmm/src/lib.rs and the VFIO BAR reprogramming path indicated by pci/src/vfio.rs; the report says shutdown blocks before its first log after locking the device manager. Reproduce with the provided command and SIGTERM timing, then investigate the lock or condition-variable interaction between the VMM and vCPU threads. Done means the VM exits cleanly in the reported window and releases its VFIO group.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the bug

A VM given a VFIO device (--device), sent SIGTERM while its firmware (CLOUDHV.fd) is enumerating PCI, never exits. A second SIGTERM does nothing; SIGKILL ends it at once. Until then the process holds the device's VFIO group, so the next VM given the device fails with failed to open /dev/vfio/8 group: Device or resource busy (os error 16).

The window is narrow: around the moment the firmware enables the device's memory space and its BARs are moved. Sent SIGTERM this many seconds after cloud-hypervisor starts, v54.0 with the device:

SIGTERM at runs never exited
1.4 s 3 3
1.5 s 10 1
1.6 s, 1.8 s 3 0

Earlier or later, and the same VM without the device, it exits within a second. v53.0 behaves the same (1 of 2 at 1.5 s the same day; it is how we first met it).

The -v log of a hung run ends with the vCPU returning the device's BARs to be moved, then the exit event, and nothing after:

1.208058s: <vcpu0> INFO:pci/src/vfio.rs:1720 -- BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }, BarReprogrammingParams { bar_idx: Some(1), old_base: 3ff800000000, new_base: 400000000, len: 400000000, region_type: Memory64BitRegion }, BarReprogrammingParams { bar_idx: Some(3), old_base: 3ffffc000000, new_base: 800000000, len: 2000000, region_type: Memory64BitRegion }]
1.400715s: <vmm> INFO:vmm/src/lib.rs:2299 -- VMM exit event

A run that exits (SIGTERM at 1.8 s) goes on at once:

1.800343s: <vmm> INFO:vmm/src/lib.rs:2299 -- VMM exit event
1.800362s: <vmm> INFO:virtio-devices/src/device.rs:488 -- Resuming virtio-block
1.800371s: <vmm> INFO:virtio-devices/src/device.rs:488 -- Resuming virtio-rng
1.800434s: <vmm> INFO:event_monitor/src/lib.rs:113 -- Event: source = vm event = shutdown
...
2.411004s: <main> INFO:cloud-hypervisor/src/main.rs:1010 -- Cloud Hypervisor exited successfully

So the hung VMM thread does not reach the first thing Vm::shutdown logs, which follows self.device_manager.lock(). Each thread 20 s after the SIGTERM, from /proc/<pid>/task/* (no signal pending, SIGTERM caught):

thread state system call kernel stack
main (cloud-hyperviso) S futex(…, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME), shared futex_wait_queue
vmm S futex(…, FUTEX_WAIT_BITSET_PRIVATE) futex_wait_queue
vmm_signal_handler S recvfrom(14, …) unix_stream_read_generic
vcpu0 S futex(…, FUTEX_WAIT_BITSET_PRIVATE) futex_wait_queue

The main thread is joining, the signal thread is idle again on its socket, and the VMM thread and the one vCPU each wait on a lock or condition variable, neither in KVM_RUN. Our reading, unconfirmed for want of a debugger on the host: the VMM thread waits in Vm::shutdown for the device manager's lock, held across the vCPU's move of the device's BARs (the 16 GiB one among them), and the vCPU, in that move, waits on something the shutdown holds or never signals.

To Reproduce

cloud-hypervisor -v --log-file ch.log --firmware CLOUDHV.fd \
  --disk path=debian-13.raw,image_type=raw,readonly=on \
  --cpus boot=1,max=2 --memory size=2048M,hotplug_size=2048M \
  --device path=/sys/bus/pci/devices/0000:01:00.0/ \
  --serial file=console.log --console off &
sleep 1.4; kill -TERM $!
# 20 s on it is still there; kill -KILL ends it

Version

Output of cloud-hypervisor --version: cloud-hypervisor v54.0

Did you build from source, if so build command line (e.g. features): from the v54.0 tag, cargo build --release --bin cloud-hypervisor, default features, no patches. Also seen on v53.0 (with two patches of ours that do not touch shutdown: migration's net fds, and Landlock's path to a VFIO group).

VM configuration

What command line did you run (or JSON config data): as above, as root, without --landlock. Firmware: CLOUDHV.fd from the cloud-hypervisor/edk2 release ch-97eeb7b09. Device: an NVIDIA RTX 5070 Ti (10de:2c05; BARs of 64 MiB, 16 GiB and 32 MiB) bound to vfio-pci, legacy container/group mode.

Guest OS version details: Debian 13's cloud image, though the guest never runs: the hang is in the firmware.

Host OS version details: Debian 13.7, kernel 6.12.113+deb13-amd64. The host is itself a KVM guest: QEMU 8.2.2, -machine q35,accel=kvm -cpu host, an emulated intel-iommu,intremap=on,caching-mode=on,aw-bits=48, and the GPU passed to it with vfio-pci,host=0000:01:00.0; the physical host runs Linux 6.18.7. Not tried on bare metal: this is the only GPU host we have.

Logs

Output of cloud-hypervisor -v from either standard error or via --log-file: the whole of a hung run's below (paths shortened); standard error is empty.

ch.log, SIGTERM at 1.4 s, never exited
cloud-hypervisor:   0.000018s: <main> INFO:cloud-hypervisor/src/main.rs:684 -- v54.0 starting
cloud-hypervisor:   0.000057s: <main> INFO:event_monitor/src/lib.rs:113 -- Event: source = vmm event = starting 
cloud-hypervisor:   0.000528s: <main> INFO:event_monitor/src/lib.rs:113 -- Event: source = vmm event = started 
cloud-hypervisor:   0.000879s: <vmm> INFO:vmm/src/api/mod.rs:1522 -- API request event: VmCreate VmConfig { cpus: CpusConfig { boot_vcpus: 1, max_vcpus: 2, topology: None, kvm_hyperv: false, max_phys_bits: 46, affinity: None, features: CpuFeatures { amx: false }, nested: false, core_scheduling: Vm, profile: Host }, memory: MemoryConfig { size: 2147483648, mergeable: false, hotplug_method: Acpi, hotplug_size: Some(2147483648), hotplugged_size: None, shared: false, hugepages: false, hugepage_size: None, prefault: false, reserve: None, zones: None, thp: true }, payload: Some(PayloadConfig { firmware: Some("CLOUDHV.fd"), kernel: None, cmdline: None, initramfs: None }), rate_limit_groups: None, disks: Some([DiskConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, path: Some("debian-13.raw"), readonly: true, direct: false, num_queues: 1, queue_size: 128, vhost_user: false, vhost_socket: None, rate_limit_group: None, rate_limiter_config: None, disable_io_uring: false, disable_aio: false, serial: None, queue_affinity: None, backing_files: false, sparse: true, image_type: Raw, lock_granularity: ByteRange, guest_block_size: None }]), net: None, rng: RngConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, src: "/dev/urandom" }, balloon: None, generic_vhost_user: None, fs: None, pmem: None, serial: SerialConfig { common: CommonConsoleConfig { file: Some("console.log"), mode: File, socket: None } }, console: ConsoleConfig { common: CommonConsoleConfig { file: None, mode: Off, socket: None }, pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None } }, debug_console: DebugConsoleConfig { file: None, mode: Off, iobase: Some(233) }, devices: Some([DeviceConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, path: Some("/sys/bus/pci/devices/0000:01:00.0/"), fd: None, x_nv_gpudirect_clique: None, x_exclude_mmap_bars: [], iommufd_dev_id: None }]), user_devices: None, vdpa: None, vsock: None, pvpanic: false, iommu: false, numa: None, watchdog: false, rtc: None, pci_segments: None, platform: None, tpm: None, preserved_fds: None, landlock_enable: false, landlock_rules: None }
cloud-hypervisor:   0.000954s: <vmm> INFO:vmm/src/api/mod.rs:1376 -- API request event: VmBoot
cloud-hypervisor:   0.000956s: <vmm> INFO:vmm/src/lib.rs:2533 -- Booting VM
cloud-hypervisor:   0.000957s: <vmm> INFO:event_monitor/src/lib.rs:113 -- Event: source = vm event = booting 
cloud-hypervisor:   0.002347s: <vmm> INFO:vmm/src/memory_manager.rs:732 -- create ram region for zone mem0, region_start: 0x0, region_size: 0x80000000
cloud-hypervisor:   0.002367s: <vmm> INFO:vmm/src/memory_manager.rs:2502 -- RAM region mapping at 0x7ff504000000 (size = 0x80000000)
cloud-hypervisor:   0.002377s: <vmm> INFO:vmm/src/vm.rs:604 -- Booting VM from config: Mutex { data: VmConfig { cpus: CpusConfig { boot_vcpus: 1, max_vcpus: 2, topology: None, kvm_hyperv: false, max_phys_bits: 46, affinity: None, features: CpuFeatures { amx: false }, nested: false, core_scheduling: Vm, profile: Host }, memory: MemoryConfig { size: 2147483648, mergeable: false, hotplug_method: Acpi, hotplug_size: Some(2147483648), hotplugged_size: None, shared: false, hugepages: false, hugepage_size: None, prefault: false, reserve: None, zones: None, thp: true }, payload: Some(PayloadConfig { firmware: Some("CLOUDHV.fd"), kernel: None, cmdline: None, initramfs: None }), rate_limit_groups: None, disks: Some([DiskConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, path: Some("debian-13.raw"), readonly: true, direct: false, num_queues: 1, queue_size: 128, vhost_user: false, vhost_socket: None, rate_limit_group: None, rate_limiter_config: None, disable_io_uring: false, disable_aio: false, serial: None, queue_affinity: None, backing_files: false, sparse: true, image_type: Raw, lock_granularity: ByteRange, guest_block_size: None }]), net: None, rng: RngConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, src: "/dev/urandom" }, balloon: None, generic_vhost_user: None, fs: None, pmem: None, serial: SerialConfig { common: CommonConsoleConfig { file: Some("console.log"), mode: File, socket: None } }, console: ConsoleConfig { common: CommonConsoleConfig { file: None, mode: Off, socket: None }, pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None } }, debug_console: DebugConsoleConfig { file: None, mode: Off, iobase: Some(233) }, devices: Some([DeviceConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, path: Some("/sys/bus/pci/devices/0000:01:00.0/"), fd: None, x_nv_gpudirect_clique: None, x_exclude_mmap_bars: [], iommufd_dev_id: None }]), user_devices: None, vdpa: None, vsock: None, pvpanic: false, iommu: false, numa: None, watchdog: false, rtc: None, pci_segments: None, platform: None, tpm: None, preserved_fds: None, landlock_enable: false, landlock_rules: None }, poisoned: false, .. }
cloud-hypervisor:   0.002413s: <vmm> INFO:arch/src/x86_64/mod.rs:711 -- Running under nested virtualisation. Hypervisor string: KVMKVMKVM
cloud-hypervisor:   0.002416s: <vmm> INFO:arch/src/x86_64/mod.rs:717 -- Generating guest CPUID with physical address size: 46
cloud-hypervisor:   0.002544s: <vmm> INFO:vmm/src/pci_segment.rs:107 -- Adding PCI segment: id=0, PCI MMIO config address: 0xe8000000, mem32 area [0xc0000000-0xe7ffffff], mem64 area [0x1f0000000-0x3fffffeeffff]
cloud-hypervisor:   0.002551s: <vmm> INFO:vmm/src/memory_manager.rs:2800 -- Creating userspace mapping: 0 -> 7ff504000000 80000000, slot 0
cloud-hypervisor:   0.002589s: <vmm> INFO:vmm/src/memory_manager.rs:2859 -- Created userspace mapping: 0 -> 7ff504000000 80000000
cloud-hypervisor:   0.002618s: <vmm> INFO:vmm/src/cpu.rs:1143 -- Request to create new vCPUs: desired = 1, max = 2, allocated = 0, present = 0
cloud-hypervisor:   0.002663s: <payload_loader> INFO:vmm/src/vm.rs:1640 -- Loading kernel
cloud-hypervisor:   0.003294s: <payload_loader> INFO:vmm/src/vm.rs:1663 -- PVH kernel loaded: entry_addr = 0x4fffd0
cloud-hypervisor:   0.004608s: <vmm> INFO:vmm/src/memory_manager.rs:2502 -- RAM region mapping at 0x7ff590970000 (size = 0x1000)
cloud-hypervisor:   0.004611s: <vmm> INFO:vmm/src/memory_manager.rs:2800 -- Creating userspace mapping: 3ffffffeb000 -> 7ff590970000 1000, slot 1
cloud-hypervisor:   0.004644s: <vmm> INFO:vmm/src/memory_manager.rs:2859 -- Created userspace mapping: 3ffffffeb000 -> 7ff590970000 1000
cloud-hypervisor:   0.004662s: <vmm> INFO:vmm/src/device_manager.rs:2841 -- Creating virtio-block device: DiskConfig { pci_common: PciDeviceCommonConfig { id: Some("_disk0"), iommu: Off, pci_segment: 0, pci_device_id: None }, path: Some("debian-13.raw"), readonly: true, direct: false, num_queues: 1, queue_size: 128, vhost_user: false, vhost_socket: None, rate_limit_group: None, rate_limiter_config: None, disable_io_uring: false, disable_aio: false, serial: None, queue_affinity: None, backing_files: false, sparse: true, image_type: Raw, lock_granularity: ByteRange, guest_block_size: None }
cloud-hypervisor:   0.004740s: <vmm> INFO:block/src/factory.rs:140 -- Opening RAW disk file with io_uring backend
cloud-hypervisor:   0.004751s: <vmm> INFO:block/src/lib.rs:424 -- Probed file sparse support: punch_hole=false, zero_range=false => false
cloud-hypervisor:   0.004753s: <vmm> WARN:virtio-devices/src/block.rs:838 -- sparse=on requested but backend does not support sparse operations
cloud-hypervisor:   0.004754s: <vmm> INFO:virtio-devices/src/block.rs:853 -- Disk topology: DiskTopology { logical_block_size: 512, physical_block_size: 512, minimum_io_size: 512, optimal_io_size: 0 }
cloud-hypervisor:   0.004765s: <vmm> INFO:vmm/src/device_manager.rs:3207 -- Creating virtio-rng device: RngConfig { pci_common: PciDeviceCommonConfig { id: None, iommu: Off, pci_segment: 0, pci_device_id: None }, src: "/dev/urandom" }
cloud-hypervisor:   0.004915s: <vmm> INFO:vmm/src/device_manager.rs:4066 -- Using vfio legacy mode with vfio container/group.
cloud-hypervisor:   0.866182s: <vmm> INFO:virtio-devices/src/block.rs:1023 -- Acquired Read lock for disk image id=_disk0,path=debian-13.raw
cloud-hypervisor:   0.866385s: <vmm> INFO:vmm/src/acpi.rs:1418 -- Generated ACPI tables: took 188µs size = 6724
cloud-hypervisor:   0.866389s: <vmm> INFO:vmm/src/vm.rs:2774 -- Created ACPI tables: rsdp_addr = 0xa0000
cloud-hypervisor:   0.866393s: <vmm> INFO:vmm/src/cpu.rs:556 -- Configuring vCPU: cpu_id = 0
cloud-hypervisor:   0.866438s: <vmm> INFO:vmm/src/vm.rs:1830 -- Configuring system
cloud-hypervisor:   0.866448s: <vmm> INFO:arch/src/x86_64/mod.rs:1335 -- first usable physical memory range, start: 0x00100000, end: 0x80000000
cloud-hypervisor:   0.866450s: <vmm> INFO:arch/src/x86_64/mod.rs:1416 -- create_memmap_entry, start: 0x00100000, end: 0x80000000
cloud-hypervisor:   0.866452s: <vmm> INFO:vmm/src/cpu.rs:1562 -- Starting vCPUs: desired = 1, allocated = 1, present = 0, paused = false
cloud-hypervisor:   0.866586s: <vcpu0> WARN:vmm/src/cpu.rs:273 -- Kernel lacks CONFIG_SCHED_CORE support - no SMT isolation
cloud-hypervisor:   0.866597s: <vcpu0> INFO:vmm/src/cpu.rs:1363 -- vCPU 0: core scheduling cookie = 0x0
cloud-hypervisor:   0.866781s: <vmm> INFO:event_monitor/src/lib.rs:113 -- Event: source = vm event = booted 
cloud-hypervisor:   1.192528s: <vcpu0> INFO:pci/src/configuration.rs:1150 -- Detected BAR reprogramming: (BAR 5) 0xff81->0xc000
cloud-hypervisor:   1.192639s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }]
cloud-hypervisor:   1.192713s: <vcpu0> INFO:pci/src/configuration.rs:1150 -- Detected BAR reprogramming: (BAR 0) 0xe0000000->0xc0000000
cloud-hypervisor:   1.192716s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }]
cloud-hypervisor:   1.192787s: <vcpu0> INFO:pci/src/configuration.rs:1150 -- Detected BAR reprogramming: (BAR 0) 0xe7f80000->0xc4000000
cloud-hypervisor:   1.192790s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(0), old_base: e7f80000, new_base: c4000000, len: 80000, region_type: Memory32BitRegion }]
cloud-hypervisor:   1.192893s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }]
cloud-hypervisor:   1.192956s: <vcpu0> INFO:pci/src/configuration.rs:1177 -- Detected BAR reprogramming: (BAR 2) 0x3ff8->0x4
cloud-hypervisor:   1.192959s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }, BarReprogrammingParams { bar_idx: Some(1), old_base: 3ff800000000, new_base: 400000000, len: 400000000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.193043s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }, BarReprogrammingParams { bar_idx: Some(1), old_base: 3ff800000000, new_base: 400000000, len: 400000000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.193106s: <vcpu0> INFO:pci/src/configuration.rs:1177 -- Detected BAR reprogramming: (BAR 4) 0x3fff->0x8
cloud-hypervisor:   1.193109s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }, BarReprogrammingParams { bar_idx: Some(1), old_base: 3ff800000000, new_base: 400000000, len: 400000000, region_type: Memory64BitRegion }, BarReprogrammingParams { bar_idx: Some(3), old_base: 3ffffc000000, new_base: 800000000, len: 2000000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.193229s: <vcpu0> INFO:pci/src/configuration.rs:1177 -- Detected BAR reprogramming: (BAR 1) 0x3fff->0x8
cloud-hypervisor:   1.193232s: <vcpu0> INFO:pci/src/configuration.rs:1102 -- MSE bit is disabled. No BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(0), old_base: 3fffff800000, new_base: 802000000, len: 80000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.193774s: <vcpu0> INFO:pci/src/configuration.rs:1096 -- BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(0), old_base: e7f80000, new_base: c4000000, len: 80000, region_type: Memory32BitRegion }]
cloud-hypervisor:   1.194264s: <vcpu0> INFO:pci/src/configuration.rs:1096 -- BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(0), old_base: 3fffff800000, new_base: 802000000, len: 80000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.208058s: <vcpu0> INFO:pci/src/vfio.rs:1720 -- BAR reprogramming parameter is returned: [BarReprogrammingParams { bar_idx: Some(5), old_base: ff80, new_base: c000, len: 80, region_type: IoRegion }, BarReprogrammingParams { bar_idx: Some(0), old_base: e0000000, new_base: c0000000, len: 4000000, region_type: Memory32BitRegion }, BarReprogrammingParams { bar_idx: Some(1), old_base: 3ff800000000, new_base: 400000000, len: 400000000, region_type: Memory64BitRegion }, BarReprogrammingParams { bar_idx: Some(3), old_base: 3ffffc000000, new_base: 800000000, len: 2000000, region_type: Memory64BitRegion }]
cloud-hypervisor:   1.400715s: <vmm> INFO:vmm/src/lib.rs:2299 -- VMM exit event

Linux kernel output: nothing but vfio-pci 0000:01:00.0: Enabling HDA controller at each start.

Workaround

We wait for the process to exit after SIGTERM and send SIGKILL if it has not in ten seconds, before freeing anything the VM held.

Ngôn ngữ chính
Rust
Star
6.3k
Fork
786
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
195

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloud-hypervisor/cloud-hypervisor

Tất cả issue của cloud-hypervisor/cloud-hypervisor

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.