Skip to content

Commit

Permalink
Merge pull request xapi-project#22 from johnelse/vgpu-trunk-merge
Browse files Browse the repository at this point in the history
Additions required for vGPU
  • Loading branch information
johnelse committed Mar 13, 2014
2 parents e0fafb2 + 8c20574 commit e40200e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xen/xenops_interface.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ let set_sockets_dir x =
let default_uri () = "file:" ^ !default_path
let json_url () = Printf.sprintf "file:%s.json" !default_path

(* Global keys used when sending vGPU config information to xenopsd. *)
let vgpu_pci_key = "vgpu_pci_id"
let vgpu_config_key = "vgpu_config"
let vgpu_extra_args_key = "vgpu_extra_args"

type power_state =
| Running
| Halted
Expand Down Expand Up @@ -94,6 +99,7 @@ module Vm = struct
type video_card =
| Cirrus
| Standard_VGA
| Vgpu

type hvm_info = {
hap: bool;
Expand Down

0 comments on commit e40200e

Please sign in to comment.