[libvirt] [RFC] get guest OS infos
zhang bo
oscar.zhangbo at huawei.com
Fri Jun 12 09:24:49 UTC 2015
On 2015/6/12 17:05, Daniel P. Berrange wrote:
> On Fri, Jun 12, 2015 at 04:56:17PM +0800, zhang bo wrote:
>> On 2015/6/11 21:54, Daniel P. Berrange wrote:
>>
>>> On Thu, Jun 11, 2015 at 08:47:12AM -0500, Dennis Jenkins wrote:
>>>> On Thu, Jun 11, 2015 at 3:51 AM, Daniel P. Berrange <berrange at redhat.com>
>>>> wrote:
>>>>
>>>>> On Thu, Jun 11, 2015 at 09:17:30AM +0100, Daniel P. Berrange wrote:
>>>>>> On Thu, Jun 11, 2015 at 01:51:33PM +0800, zhang bo wrote:
>>>>>>> Different OSes have different capabilities and behaviors sometimes. We
>> Great. It seems much better to have Glance and libosinfo together to get guest osinfo,
>> because you don't have to start the guest to get its osinfo, that's attracting.
>>
>> I just have one question: It uses Glance to set os-name, and let libosinfo search its database to
>> get further more infos(I don't know if I'm right here). Is there any possibility that we set a false
>> os-name to image by Glance, for example, the guest is fedora12, but we set it to Ubuntu13 via Glance.
>
> It of course relies on the user setting the correct operating system
> name for their image. If the user sets this wrong, then the guest
> may end up getting the wrong hardware config.
>
>> and, when would this feature be implemented in Openstack? Thanks.
>
> It is under review
>
> https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:master+topic:bp/libvirt-hardware-policy-from-libosinfo,n,z
>
> NB, this only covers configuration of disk & network drivers. In the future
> we'll extend it to other interesting things
Thank you very much! I'd follow there then.
--
Oscar
oscar.zhangbo at huawei.com
More information about the libvir-list
mailing list