Support Linux guests running as HVM mode on XenServer

Registered by John Garbutt on 2013-12-02

Currently all HVM guests get the following flag added:
platform:viridian=true

But this confuses some linux kernels, so linux machines should really get:
platform:viridian=false

This will be controlled using the existing os_type glance flags.

The viridian flag is used by Xen to provide hyper-v style optimisations to Windows guests. However, if you try these with some linux kernels, strange things can happen. in XenServer, this is all handled with the built-in templates, there is little documentation on the flag its-self.

Some details can be found here:
http://old-list-archives.xenproject.org/archives/html/xen-users/2009-07/msg00661.html

The issue with Linux boxes can be found here:
http://lists.xen.org/archives/html/xen-api/2013-03/msg00073.html

Please note, that technically, it the linux guests will still be able to detect the presence of Xen and negotiate the use of PV drivers, despite running inside an HVM container. This is also not quite the same as the PVH mode of operation Xen is currently working on.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
John Garbutt
Direction:
Approved
Assignee:
John Garbutt
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
John Garbutt
Completed by
Russell Bryant

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/xenapi-support-linux-hvm,n,z

Addressed by: https://review.openstack.org/59452
    xenapi: set viridian=false for linux servers

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.