Skip to content

WIP/DNM: Comparing MSHV changes with main branch #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

harshitgupta1337
Copy link

What this PR does

Before this PR:

After this PR:

Fixes #

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


Harshit Gupta and others added 30 commits September 4, 2024 19:37
…oud-hypervisor (#2)

* Code for kernelPath; scripts for additionalRpms

* Remove custom path of libvirtd and virtlogd

* Readd return err code if loaddomcapabilities fails

* Use modular virtchd daemon for CH

---------

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
* Add script for running make test

* Fix typo in run-mshv-tests.sh

* Change hypervisor to ch in EnsureKVMPresent() fn

* List /dev/mshv device

* Add command to focus run tests

* Able to run kubectl_test.go but it fails

* Remove libvmi.WithRng() option from Fedora VM creation function

* Set kubeconfig and set -x

* Set kubectl path if not specified

* Verified container_disk_tests.go run

* Add WithHypervisor field

* Fix comments

* Increase functest timeout to 24h

* Add CH hypervisor to VMIs created in sig-compute

* Expose KUBEVIRT_FUNC_TEST_TIMEOUT; shorten kubectl and kubeconfig setting

---------

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
…#6)

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
* Add Hypervisor in VMI spec in instancetype/instancetype.go

* Add hypervisor spec and remove unsupported devs in storage.go

---------

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
* Set SupportsISO=true for CH

* Remove SupportsISO function from Hypervisor interface

---------

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
harshitgupta1337 and others added 4 commits April 7, 2025 11:29
Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
* Other changes

* Comment out CAP_SYS_ADMIN

* Reindentation

* Capture virtchd logs

* Add KV build scripts

* Remove CAP_SYS_ADMIN comment too

* Add CAP_NET_ADMIN

* remove build scripts

* Revert pkg/virt-controller/services/renderresources.go

* Remove CAP_SYS_ADMIN

* Revert to using /etc/libvirt/vmm.conf

* Add resource requirement to CH virt-launcher pod

* Add ch.conf

* Fix logic to detec the vmmDaemon process

* Remove old comment

---------

Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
* SetupLibvirt for CH

* Separate QEMU and CH implementation to different files

* UNSTABLE Moved functions to hypervisor interface

* Able to compile

* Expose GetLibvirtLogFilters fn.

* Add missing GetDomainType function in QEMU and CH hypervisor impls

* Rename root() to Root(); Remove vmm field in hypervisors

---------

Co-authored-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.

2 participants