Comments (5)
I believe testing this feature is similar to #60. So same testcase should hold good.
- Create guest with shared storage in NFS
- Enabled ports 49152:49216 in iptables, virt_use_nfs -> on
- Mount the image location in destination and started migration.
- Perform CPU Hotplug and Hotunplug, migrate to other host and perform CPU Hotplug and Hotunplug
CPU hot unplug should be successful
from tests.
since its similar to #60 Bala would be testing this feature.
from tests.
------- Comment From [email protected] 2017-09-06 07:45:02 EDT-------
In step 4:
"4. Perform CPU Hotplug and Hotunplug, migrate to other host and perform CPU Hotplug and Hotunplug"
I am unsure if this is what it meant but If you hotplug and unplug a CPU before migration, migrate, then hotplug and unplug a CPU in destination you will not be testing the bug reported in 123907.
The sequence of events to reproduce that issue is:
- start VM in source host
- hotplug a CPU
- migrate to destination
- hotunplug the CPU
Or, putting in a sentence:
"4. Perform CPU Hotplug, migrate to other host and perform CPU Hotunplug"
Thanks,
Daniel
from tests.
------- Comment From [email protected] 2017-09-08 01:10:55 EDT-------
(In reply to comment #5)
> In step 4:
>
> "4. Perform CPU Hotplug and Hotunplug, migrate to other host and perform CPU
> Hotplug and Hotunplug"
>
> I am unsure if this is what it meant but If you hotplug and unplug a CPU
> before migration, migrate, then hotplug and unplug a CPU in destination you
> will not be testing the bug reported in 123907.
>
> The sequence of events to reproduce that issue is:
>
> - start VM in source host
> - hotplug a CPU
> - migrate to destination
> - hotunplug the CPU
>
> Or, putting in a sentence:
>
> "4. Perform CPU Hotplug, migrate to other host and perform CPU Hotunplug"
>
>
> Thanks,
>
>
> Daniel
@daniel thanks for the review. Ack'ed on behalf of @bala.
from tests.
This is tested.
- Hotplug 64 cpus to guest in source.
virsh setvcpus avocado-vt-vm1-migration 64 --live - migrate vm to destination machine.
virsh migrate avocado-vt-vm1-migration qemu+ssh://9.40.193.221/system --live --verbose
[email protected]'s password:
Migration: [100 %] - Hotunplug 56 cpus to guest in destination
virsh setvcpus avocado-vt-vm1-migration 8 --live
echo $?
0
Checked the respective change in cpu nos from inside guest. It's successful.
from tests.
Related Issues (20)
- Exercise Libvirt TCK
- Exercise RISU for ppc64
- Exercise virtio-fs for ppc64 HOT 2
- Exercise XICS and XIVE interrupt models and dual mode HOT 3
- Exercise SLOF build and test HOT 3
- Exercise QEMU nested virtualization
- Add vcpu hotplug test to upstream.cfg
- Add save/restore tests to upstream config
- multivm reboot tests in upstream config
- add suspend /resume tests in upstream config
- add network hotplug tests in upstream config HOT 1
- add disk hotplug to upstream config HOT 1
- add dump/ras tests to upstream config
- Exercise NVLink2 passthrough
- Exercise NUMA nodes on the guest with PCI-passthrough NVLink2 devices
- [RFC] Handle pre/post plugins per cfg HOT 2
- [RFC] run script(s) once while test bucket start runs HOT 7
- Add provision to tag a avocado framework and tests version HOT 4
- Python errors with avocado-setup.py HOT 2
- avocado-setup.py option --create-run-suite should support running tests with yaml input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tests.