<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 3:51 AM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Thu, Jun 11, 2015 at 09:17:30AM +0100, Daniel P. Berrange wrote:<br>
> On Thu, Jun 11, 2015 at 01:51:33PM +0800, zhang bo wrote:<br>
> > Different OSes have different capabilities and behaviors sometimes. We have to distinguish them then.<br>
> ><br>
> > For example, our clients want to send NMI interrupts to certain guests(eg.Linux distributions), but not others(eg.Windows guests).<br>
> > They want to acquire the list below:<br>
> >   guest1: RHEL 7<br>
> >   guest2: RHEL 7<br>
> >   guest3: Ubuntu 12<br>
> >   guest4: Ubuntu 13<br>
> >   guest5: Windows 7<br>
> >   ......<br>
> ><br>
> > AFAIK, neither libvirt nor openstack, nor qemu, have such capbility of showing these guest OS infos.<br>
> > Libvirt now supports to show host capabilities and driver capability, but not an individual guest OS's capibility. We may refer to<br>
> > <a href="http://libvirt.org/formatdomaincaps.html" rel="noreferrer" target="_blank">http://libvirt.org/formatdomaincaps.html</a> for more information.<br>
> ></span><br></blockquote></div><br></div><div class="gmail_extra">Hello.  I wrote a utility a few years ago to detect which OS is running in each qemu VM under libvirt via memory probing.  I have not touched the code in a few years.  YMMV.<br></div><div class="gmail_extra"><br><a href="http://pastebin.com/m0mfcK8G">http://pastebin.com/m0mfcK8G</a><br></div></div>