mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-06 19:30:24 +00:00
Merge pull request #11257 from mythi/coco-guest-hardening
confidential guest kernel hardening changes
This commit is contained in:
@@ -806,8 +806,8 @@ func (q *qemu) CreateVM(ctx context.Context, id string, network Network, hypervi
|
||||
qemuConfig.IOThreads = []govmmQemu.IOThread{*ioThread}
|
||||
}
|
||||
// Add RNG device to hypervisor
|
||||
// Skip for s390x as CPACF is used
|
||||
if machine.Type != QemuCCWVirtio {
|
||||
// Skip for s390x (as CPACF is used) or when Confidential Guest is enabled
|
||||
if machine.Type != QemuCCWVirtio && !q.config.ConfidentialGuest {
|
||||
rngDev := config.RNGDev{
|
||||
ID: rngID,
|
||||
Filename: q.config.EntropySource,
|
||||
|
Reference in New Issue
Block a user