Revert "hypervisors: Confidential Guests do not support Device hotplug"

This reverts commit df8ffecde0, as device
hotplug *is* supported and, more than that, is very much needed when
using virtio-blk instead of virtio-fs.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio
2022-03-02 10:52:47 +01:00
parent 934788eb53
commit 76e4f6a2a3
6 changed files with 5 additions and 21 deletions

View File

@@ -277,9 +277,7 @@ func (q *qemuArchBase) kernelParameters(debug bool) []Param {
func (q *qemuArchBase) capabilities() types.Capabilities {
var caps types.Capabilities
if q.protection == noneProtection {
caps.SetBlockDeviceHotplugSupport()
}
caps.SetBlockDeviceHotplugSupport()
caps.SetMultiQueueSupport()
caps.SetFsSharingSupport()
return caps