mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 02:06:47 +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"`
|
MemSlots uint32 `toml:"memory_slots"`
|
||||||
DefaultBridges uint32 `toml:"default_bridges"`
|
DefaultBridges uint32 `toml:"default_bridges"`
|
||||||
Msize9p uint32 `toml:"msize_9p"`
|
Msize9p uint32 `toml:"msize_9p"`
|
||||||
PCIeRootPort uint32 `toml:"pcie_root_port"`
|
|
||||||
GuestPreAttestationGRPCTimeout uint32 `toml:"guest_pre_attestation_grpc_timeout"`
|
GuestPreAttestationGRPCTimeout uint32 `toml:"guest_pre_attestation_grpc_timeout"`
|
||||||
SEVGuestPolicy uint32 `toml:"sev_guest_policy"`
|
SEVGuestPolicy uint32 `toml:"sev_guest_policy"`
|
||||||
SNPGuestPolicy uint64 `toml:"snp_guest_policy"`
|
SNPGuestPolicy uint64 `toml:"snp_guest_policy"`
|
||||||
@ -159,7 +158,7 @@ type hypervisor struct {
|
|||||||
DisableImageNvdimm bool `toml:"disable_image_nvdimm"`
|
DisableImageNvdimm bool `toml:"disable_image_nvdimm"`
|
||||||
HotplugVFIOOnRootBus bool `toml:"hotplug_vfio_on_root_bus"`
|
HotplugVFIOOnRootBus bool `toml:"hotplug_vfio_on_root_bus"`
|
||||||
HotPlugVFIO config.PCIePort `toml:"hot_plug_vfio"`
|
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"`
|
DisableVhostNet bool `toml:"disable_vhost_net"`
|
||||||
GuestMemoryDumpPaging bool `toml:"guest_memory_dump_paging"`
|
GuestMemoryDumpPaging bool `toml:"guest_memory_dump_paging"`
|
||||||
ConfidentialGuest bool `toml:"confidential_guest"`
|
ConfidentialGuest bool `toml:"confidential_guest"`
|
||||||
@ -889,7 +888,6 @@ func newQemuHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
|
|||||||
HotplugVFIOOnRootBus: h.HotplugVFIOOnRootBus,
|
HotplugVFIOOnRootBus: h.HotplugVFIOOnRootBus,
|
||||||
HotPlugVFIO: h.hotPlugVFIO(),
|
HotPlugVFIO: h.hotPlugVFIO(),
|
||||||
ColdPlugVFIO: h.coldPlugVFIO(),
|
ColdPlugVFIO: h.coldPlugVFIO(),
|
||||||
PCIeRootPort: h.PCIeRootPort,
|
|
||||||
DisableVhostNet: h.DisableVhostNet,
|
DisableVhostNet: h.DisableVhostNet,
|
||||||
EnableVhostUserStore: h.EnableVhostUserStore,
|
EnableVhostUserStore: h.EnableVhostUserStore,
|
||||||
VhostUserStorePath: h.vhostUserStorePath(),
|
VhostUserStorePath: h.vhostUserStorePath(),
|
||||||
@ -1340,7 +1338,6 @@ func GetDefaultHypervisorConfig() vc.HypervisorConfig {
|
|||||||
HotplugVFIOOnRootBus: defaultHotplugVFIOOnRootBus,
|
HotplugVFIOOnRootBus: defaultHotplugVFIOOnRootBus,
|
||||||
ColdPlugVFIO: defaultColdPlugVFIO,
|
ColdPlugVFIO: defaultColdPlugVFIO,
|
||||||
HotPlugVFIO: defaultHotPlugVFIO,
|
HotPlugVFIO: defaultHotPlugVFIO,
|
||||||
PCIeRootPort: defaultPCIeRootPort,
|
|
||||||
GuestHookPath: defaultGuestHookPath,
|
GuestHookPath: defaultGuestHookPath,
|
||||||
VhostUserStorePath: defaultVhostUserStorePath,
|
VhostUserStorePath: defaultVhostUserStorePath,
|
||||||
VhostUserDeviceReconnect: defaultVhostUserDeviceReconnect,
|
VhostUserDeviceReconnect: defaultVhostUserDeviceReconnect,
|
||||||
@ -1363,7 +1360,6 @@ func GetDefaultHypervisorConfig() vc.HypervisorConfig {
|
|||||||
SEVGuestPolicy: defaultSEVGuestPolicy,
|
SEVGuestPolicy: defaultSEVGuestPolicy,
|
||||||
SNPGuestPolicy: defaultSNPGuestPolicy,
|
SNPGuestPolicy: defaultSNPGuestPolicy,
|
||||||
SEVCertChainPath: defaultSEVCertChainPath,
|
SEVCertChainPath: defaultSEVCertChainPath,
|
||||||
VhostUserDeviceReconnect: defaultVhostUserDeviceReconnect,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -389,7 +389,6 @@ type HypervisorConfig struct {
|
|||||||
Gid uint32
|
Gid uint32
|
||||||
SEVGuestPolicy uint32
|
SEVGuestPolicy uint32
|
||||||
SNPGuestPolicy uint64
|
SNPGuestPolicy uint64
|
||||||
PCIeRootPort uint32
|
|
||||||
NumVCPUs uint32
|
NumVCPUs uint32
|
||||||
RemoteHypervisorTimeout uint32
|
RemoteHypervisorTimeout uint32
|
||||||
IOMMUPlatform bool
|
IOMMUPlatform bool
|
||||||
@ -421,7 +420,7 @@ type HypervisorConfig struct {
|
|||||||
DisableGuestSeLinux bool
|
DisableGuestSeLinux bool
|
||||||
LegacySerial bool
|
LegacySerial bool
|
||||||
HotPlugVFIO config.PCIePort
|
HotPlugVFIO config.PCIePort
|
||||||
ColdPlugVFIO hv.PCIePort
|
ColdPlugVFIO config.PCIePort
|
||||||
VFIODevices []config.DeviceInfo
|
VFIODevices []config.DeviceInfo
|
||||||
VhostUserBlkDevices []config.DeviceInfo
|
VhostUserBlkDevices []config.DeviceInfo
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user