From: Ian Campbell Subject: Re: [PATCH v2] Add device_model_pvdevice parameter for HVM guests Date: Fri, 2 Aug 2013 16:54:22 +0100 Message-ID: <1375458862.10660.146.camel@kazak.uk.xensource.com> References: <1374155237-7076-1-git-send-email-paul.durrant@citrix.com> <1375453936.10660.119.camel@kazak.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD00AF19F@LONPEX01CL01.citrite.net> <1375457834.10660.133.camel@kazak.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD00AF54E@LONPEX01CL01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD00AF54E@LONPEX01CL01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: Stefano Stabellini , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-08-02 at 16:48 +0100, Paul Durrant wrote: > > > So, doesn't LIBXL_HAVE_PVDEVICE cover it? The intention is there's > > > only ever going to be one of them. > > > > PVDEVICE is a very broad term, does it mean PVNIC, PVCONSOLE, PVDISK > > etc? How does it relate to a PVDOMAIN etc. I know we both know the > > answer to what this is but the API should be less ambiguous. > > > > How about VENDOR_DEVICE? That probably captures the intention (and > makes more sense when you consider the only available value apart > fromn 'none' is 'citrix'). vendor device sounds good to me. Should be HVM_VENDOR_DEVICE though I think and it looks like we've fallen into the pattern of LIBXL_HAVE__, so how about LIBXL_HAVE_BUILDINFO_HVM_VENDOR_DEVICE? and u.hvm.vendor_device for the field itself? Ian.