mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: balloon: Enable use with confidential VMs
Following the pattern used by the existing virtio devices make the balloon device work with confidential VMs (e.g. SEV-SNP). This requires advertising the VIRTIO_F_ACCESS_PLATFORM feature. Do not expose this to the user as a controllable option and instead only enable in on the "force" case. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -49,6 +49,7 @@ fuzz_target!(|bytes: &[u8]| -> Corpus {
|
||||
BALLOON_SIZE,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
SeccompAction::Allow,
|
||||
EventFd::new(EFD_NONBLOCK).unwrap(),
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user