Giter VIP home page Giter VIP logo

Comments (5)

bssrikanth avatar bssrikanth commented on June 12, 2024

I believe testing this feature is similar to #60. So same testcase should hold good.

  1. Create guest with shared storage in NFS
  2. Enabled ports 49152:49216 in iptables, virt_use_nfs -> on
  3. Mount the image location in destination and started migration.
  4. Perform CPU Hotplug and Hotunplug, migrate to other host and perform CPU Hotplug and Hotunplug
    CPU hot unplug should be successful

from tests.

bssrikanth avatar bssrikanth commented on June 12, 2024

since its similar to #60 Bala would be testing this feature.

from tests.

cdeadmin avatar cdeadmin commented on June 12, 2024

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

cdeadmin avatar cdeadmin commented on June 12, 2024

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

bssrikanth avatar bssrikanth commented on June 12, 2024

This is tested.

  1. Hotplug 64 cpus to guest in source.
    virsh setvcpus avocado-vt-vm1-migration 64 --live
  2. 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 %]
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.