Skip to content

New Feature: KVM Agent Hooks #3823

@bwsw

Description

@bwsw
ISSUE TYPE
  • Feature Idea
COMPONENT NAME
CloudStack KVM Agent
CLOUDSTACK VERSION
Master
SUMMARY

Allow Agent to launch external program to mangle XML before VM launch. Workflow like

  1. agent builds initial XML
  2. if external transformer script is provided, agent passes XML to transform it.
  3. agent receives back transformed XML
  4. agent launches XML

Purpose:

  • pass raw devices like USB keys, Movidius accelerators, etc.
  • GPU pass-thru
  • RAW drives
  • additional unmanaged nics, VXLANS (we already have a usecase for that, but use it thru security groups script hacking (hotplug) which is not good)
  • alter and provide additional CPU flags unsupported by CS

Let me know what do you think about it. Design considerations? Maybe already implemented?

@rhtyd @PaulAngus @andrijapanicsb @DaanHoogland @wido @rafaelweingartner @svenvogel

We (Bitworks) would like to implement it. If it has chances to be added to mainstream, it's great to discuss the design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions