Skip to content

Commit

Permalink
Add 'zvm' to the list of known hypervisor types
Browse files Browse the repository at this point in the history
zvm is a hypervisor that used for IBM s390 arch and has
many years history on virtualization.
you can refer to http://www.vm.ibm.com/ for more info on it.

According to danpb's comments on
https://review.openstack.org/#/c/122200/:
FYI the list of hvtype constants is intended to define a global set of
all theoretically supported hypervisors. ie it is fine to add more
constants for hypervisors, even if Nova doesn't have a driver in-tree for it.

even if zvm is not in the nova tree now, we are trying to enhance the
code and other related stuffs such as CI test to make it acceptable to
community later. Also, zvm driver code is not in stackforge now since
we are trying to fit other criterias in order to make community accept it and
put into nova tree.

This patch simply adds zvm to the list of known hypervisor types which are
validated during scheduling given commit a4fd236.

Change-Id: I1f5b5bd2a8f082d2e945560ae82593dfd70f2a22
  • Loading branch information
jichenjc committed Oct 9, 2014
1 parent 595ad2c commit ca2c703
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nova/compute/hvtype.py
Expand Up @@ -25,8 +25,8 @@
from nova import exception


# This list is taken from libvirt, with OpenStack
# specific 'baremetal' & 'fake' then added in.
# This list is all known hypervisors
# even if not currently supported by OpenStack.
BAREMETAL = "baremetal"
BHYVE = "bhyve"
FAKE = "fake"
Expand All @@ -43,6 +43,7 @@
VBOX = "vbox"
VMWARE = "vmware"
XEN = "xen"
ZVM = "zvm"

ALL = (
BAREMETAL,
Expand All @@ -61,6 +62,7 @@
VBOX,
VMWARE,
XEN,
ZVM,
)


Expand Down

0 comments on commit ca2c703

Please sign in to comment.