add configuration item to set virtual machine swapfile location

Registered by Zhou Yu

Currently, disk.swap(the swapfile of instance) is created in the instances_path(deflaut is /var/lib/nova/instances/<vm-uuid>,the base file is in /var/lib/nova/instances/_base/swap_xxx). We should add configuration item in nova.conf to set virtual machine swapfile location seperatedly. With such a feature enabled, swapfiles can be placed onto a specified storage, e.g. a SSD, seperatedly, which will improve the performance.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Zhou Yu
Direction:
Needs approval
Assignee:
Zhou Yu
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Zhou Yu

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/set-vm-swapfile-location,n,z

Addressed by: https://review.openstack.org/83727
    add support to set the location of virtual machine swap files seperatedly. with such a feature enabled, swapfiles can be placed onto a specidied storage,e.g. a SSD,seperatedly, that improve the performace of guest vm .

this is problem a bit too narrowly focused,so I have commit a new bp:
https://blueprints.launchpad.net/nova/+spec/libvirt-multiple-image-backends

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.