Skip to content

Multihypervisor/3 handler backup 02232026#112

Draft
harshitgupta1337 wants to merge 16 commits intomainfrom
multihypervisor/3-handler-backup-02232026
Draft

Multihypervisor/3 handler backup 02232026#112
harshitgupta1337 wants to merge 16 commits intomainfrom
multihypervisor/3-handler-backup-02232026

Conversation

@harshitgupta1337
Copy link
Collaborator

What this PR does

Before this PR:

After this PR:

References

Why we need it and why it was done in this way

The following tradeoffs were made:

The following alternatives were considered:

Links to places where the discussion took place:

Special notes for your reviewer

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note


dankenigsberg and others added 16 commits February 23, 2026 15:57
Move tests/vmi_multiqueue_test.go to tests/network/multiqueue.go
and modernize the code to use libvmi primitives.

Add InterfaceWithModel() helper to pkg/libvmi/network.go.

Assisted-by: claude-sonnet-4-5
Signed-off-by: Dan Kenigsberg <danken@redhat.com>
Allow overriding the images of virt-template-apiserver and
virt-template-controller from the KubeVirtDeploymentConfig. Also allow
overriding them from the virt-operator CSV.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
Alpinetesttooling is enabled for s390x, this commit adds the
s390x label to the test files. This ensures that the tests are
correctly tagged and executed for the s390x architecture.

Signed-off-by: Laxmi Adavalli <laxmi.adavalli@ibm.com>
Performs KernelBoot from a specialised minimal guest image, when trying to bring up a Guestless VMI on s390x.

Signed-off-by: Thomas-David Griedel griedel911@gmail.com
[056f8f7 Run go run ./robots/kubevirtci-bumper -ensure-only-latest-three --k8s-provider-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-provision/k8s --cluster-up-dir /home/prow/go/src/github.com/kubevirt/project-infra/../kubevirtci/cluster-up/cluster](kubevirt/kubevirtci#1629)
[52788b7 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1626)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <kubevirtbot@redhat.com>
Multiple controllers in virt-handler are instantiated before the
ClusterConfig informer and other informers have synced. This lets the
Controllers be instantiated with the actual cluster config from the CR
instead of being instantiated with default config and being updated
later via callbacks.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Depending on whether the VMI is running or not, the PID chosen to update
memlock limit is qemu-* or virtqemud. This commit adds a single logic
both those cases by just querying the right PID based on VMI status.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Add a member of the interface type to the BaseController to be
accessed from VM, Migr-target and Migr-src controllers. Use the
interface impl to query hypervisor device info to add to cgroup
device allow-list. Also, compute the device rule permissions
using a helper function to deduplicate logic.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
GetQemuProcess and KvmPitPid functions in the IsolationResult interface
rely on Pid and PPid fns. As such, they don't form the core function of
the IsolationResult interface. Move them out of the interface to make
the interface leaner.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Move the adjustQemuProcessMemoryLimits fn to vm.go to facilitate
subsequent changes for introduction of VirtRuntime.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Move non-housekeeping related logic out of the HandleHousekeeping
function. Change the fn signature to avoid repeated cache lookup for
domain.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Define the VirtRuntime interface and declare it as a member of the
BaseController struct in virt-handler. Initialize the VirtRuntime based
on the hypervisor configured in the cluster config.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Move the hypervisor-related logic in virt-handler to KVM's Runtime
implementation. Update virt-handler logic to invoke the hypervisor
runtime.

Signed-off-by: Harshit Gupta <guptaharshit@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants