-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KVM: add vm setting for nic multiqueue number and packed virtqueues #7333
KVM: add vm setting for nic multiqueue number and packed virtqueues #7333
Conversation
This works on centos7 as well. but centos7 with tap device does not work. got an exception
|
Codecov Report
@@ Coverage Diff @@
## main #7333 +/- ##
=========================================
Coverage 12.68% 12.69%
- Complexity 8654 8656 +2
=========================================
Files 2716 2716
Lines 256117 256165 +48
Branches 39928 39944 +16
=========================================
+ Hits 32499 32520 +21
- Misses 219485 219501 +16
- Partials 4133 4144 +11
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5723 |
Libvirt will automatically create the tap device. This fixes the issue with tungsten vm with multi_queue on centos7 "Unable to create tap device tap1e002c000008: Invalid argument"
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5724 |
SonarCloud Quality Gate failed. |
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5912 |
@blueorangutan test keepEnv |
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
@blueorangutan package |
@borisstoyanov a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
@blueorangutan test keepEnv |
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6016 |
Trillian test result (tid-6499)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I've manually tested it and confirmed the failing test was passing in a separate run
Test force reboot CPVM ... === TestName: test_10_reboot_cpvm_forced | Status : SUCCESS ===
great, thanks @borisstoyanov for the testing ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM did n't test it
Merging based on manual tests by @borisstoyanov, CI tests and reviews. |
Description
This PR adds two vm setting for user vms on KVM
Tested ok on ubuntu 22 and rocky 8.4
(See test results in Screenshots part)
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
Deploy a vm
There are two new options in "Advanced mode" part.
Start the vm. check qemu process on kvm host
it shows
(vectors = 2 * queue number + 2)
virsh dumpxml
shows<driver queues='6' packed='on'/>
log into the vm, and run some commands