Add one configuration item for cache-using in libvirt/hypervisor

Bug #1287492 reported by wingwj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Undecided
wingwj

Bug Description

We met one scenario which needs to close the cache on linux hypervisor.

But some codes written in libvirt/driver.py (including 'suspend'/'snapshot' actions) are hard-coded.

For example:
-----------
    def suspend(self, instance):
        """Suspend the specified instance."""
        dom = self._lookup_by_name(instance['name'])
        self._detach_pci_devices(dom,
            pci_manager.get_instance_pci_devs(instance))
        dom.managedSave(0)

So, we need to add one configuration item for it in nova.conf, and let operator can choose it.

wingwj (wingwj)
Changed in nova:
assignee: nobody → wingwj (wingwj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/77782

Changed in nova:
status: New → In Progress
Revision history for this message
Joe Gordon (jogo) wrote :

Is this bug still valid, the patch has been abandoned.

Changed in nova:
status: In Progress → Incomplete
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.