config: Enable guestHook for remote hyp

The guesthook config was missing which prevented handling
of GPUs with remote hypervisor

Fixes: #8172

Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
This commit is contained in:
Pradipta Banerjee
2023-09-26 06:15:51 -04:00
parent 1ad87faaf4
commit 6be56addd8

View File

@@ -1154,6 +1154,8 @@ func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
// No valid value so avoid to append block device to list in kata_agent.appendDevices
BlockDeviceDriver: "dummy",
EnableAnnotations: h.EnableAnnotations,
// Add GuestHookPath
GuestHookPath: h.guestHookPath(),
}, nil
}