mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 09:49:35 +00:00
runtime: Fix bad merge
- Fix the HotPlug type Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
1c058d1d91
commit
7188a60e25
@ -136,7 +136,6 @@ type hypervisor struct {
|
||||
MemSlots uint32 `toml:"memory_slots"`
|
||||
DefaultBridges uint32 `toml:"default_bridges"`
|
||||
Msize9p uint32 `toml:"msize_9p"`
|
||||
PCIeRootPort uint32 `toml:"pcie_root_port"`
|
||||
GuestPreAttestationGRPCTimeout uint32 `toml:"guest_pre_attestation_grpc_timeout"`
|
||||
SEVGuestPolicy uint32 `toml:"sev_guest_policy"`
|
||||
SNPGuestPolicy uint64 `toml:"snp_guest_policy"`
|
||||
@ -159,7 +158,7 @@ type hypervisor struct {
|
||||
DisableImageNvdimm bool `toml:"disable_image_nvdimm"`
|
||||
HotplugVFIOOnRootBus bool `toml:"hotplug_vfio_on_root_bus"`
|
||||
HotPlugVFIO config.PCIePort `toml:"hot_plug_vfio"`
|
||||
ColdPlugVFIO hv.PCIePort `toml:"cold_plug_vfio"`
|
||||
ColdPlugVFIO config.PCIePort `toml:"cold_plug_vfio"`
|
||||
DisableVhostNet bool `toml:"disable_vhost_net"`
|
||||
GuestMemoryDumpPaging bool `toml:"guest_memory_dump_paging"`
|
||||
ConfidentialGuest bool `toml:"confidential_guest"`
|
||||
@ -889,7 +888,6 @@ func newQemuHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
|
||||
HotplugVFIOOnRootBus: h.HotplugVFIOOnRootBus,
|
||||
HotPlugVFIO: h.hotPlugVFIO(),
|
||||
ColdPlugVFIO: h.coldPlugVFIO(),
|
||||
PCIeRootPort: h.PCIeRootPort,
|
||||
DisableVhostNet: h.DisableVhostNet,
|
||||
EnableVhostUserStore: h.EnableVhostUserStore,
|
||||
VhostUserStorePath: h.vhostUserStorePath(),
|
||||
@ -1340,7 +1338,6 @@ func GetDefaultHypervisorConfig() vc.HypervisorConfig {
|
||||
HotplugVFIOOnRootBus: defaultHotplugVFIOOnRootBus,
|
||||
ColdPlugVFIO: defaultColdPlugVFIO,
|
||||
HotPlugVFIO: defaultHotPlugVFIO,
|
||||
PCIeRootPort: defaultPCIeRootPort,
|
||||
GuestHookPath: defaultGuestHookPath,
|
||||
VhostUserStorePath: defaultVhostUserStorePath,
|
||||
VhostUserDeviceReconnect: defaultVhostUserDeviceReconnect,
|
||||
@ -1363,7 +1360,6 @@ func GetDefaultHypervisorConfig() vc.HypervisorConfig {
|
||||
SEVGuestPolicy: defaultSEVGuestPolicy,
|
||||
SNPGuestPolicy: defaultSNPGuestPolicy,
|
||||
SEVCertChainPath: defaultSEVCertChainPath,
|
||||
VhostUserDeviceReconnect: defaultVhostUserDeviceReconnect,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -389,7 +389,6 @@ type HypervisorConfig struct {
|
||||
Gid uint32
|
||||
SEVGuestPolicy uint32
|
||||
SNPGuestPolicy uint64
|
||||
PCIeRootPort uint32
|
||||
NumVCPUs uint32
|
||||
RemoteHypervisorTimeout uint32
|
||||
IOMMUPlatform bool
|
||||
@ -421,7 +420,7 @@ type HypervisorConfig struct {
|
||||
DisableGuestSeLinux bool
|
||||
LegacySerial bool
|
||||
HotPlugVFIO config.PCIePort
|
||||
ColdPlugVFIO hv.PCIePort
|
||||
ColdPlugVFIO config.PCIePort
|
||||
VFIODevices []config.DeviceInfo
|
||||
VhostUserBlkDevices []config.DeviceInfo
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user