[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-API] RE: VM. get allowed VBD devices
Thanks Dave. And I am assuming same goes for VM.get_allowed_VIF_devices() -----Original Message----- From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dave Scott Sent: Monday, November 16, 2009 5:57 PM To: Aggarwal, Ajay; xen-api@xxxxxxxxxxxxxxxxxxx Subject: [Xen-API] RE: VM. get allowed VBD devices Hi, > What exactly is VM. get allowed VBD devices()? What list does it return? The return value is a list of possible "VBD.userdevice" values: integers from 0 up to some supported maximum (where the maximum depends on guest type), with entries corresponding to existing VBDs removed. The purpose is to give clients a hint about what "VBD.userdevice" values are possible for a given VM configuration. The supported maximums are hardcoded in ocaml/xapi/xapi_vm_helpers.ml: let allowed_VBD_devices_HVM = range_inclusive 0 3 let allowed_VBD_devices_HVM_PP = range_inclusive 0 15 let allowed_VBD_devices_PV = range_inclusive 0 15 let allowed_VIF_devices_HVM = range_inclusive 0 3 let allowed_VIF_devices_HVM_PP = range_inclusive 0 6 let allowed_VIF_devices_PV = range_inclusive 0 6 where "PV" means fully paravirt linux guests; "HVM" means HVM guests with no PV drivers; "HVM_PP" means HVM guests with PV drivers. Note that none of these limits are actually enforced; this is just a hinting mechanism. Cheers, Dave _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |