I ran the script on a amzn2-ami-hvm-2.0.20210427.0-x86_64-gp2 instance. 
Just like what you have described, the result ...



I wish I cloud do something for this script, and add some codes in the project. 
But testing on the aws instance, the result confused me. I thought there should 
be "aws" on stdout.
 
------------------ Original ------------------
From: &nbsp;"Richard W.M. Jones"<rjo...@redhat.com&gt;;
Date: &nbsp;Wed, May 26, 2021 05:13 PM
To: &nbsp;"韩笑"<hanxiaob...@bupt.edu.cn&gt;; 
"virt-tools-list"<virt-tools-list@redhat.com&gt;; 

Subject: &nbsp;Re: Some Confusion About virt-what

&nbsp;

On Wed, May 26, 2021 at 04:28:05PM +0800, 韩笑 wrote:
&gt; I've read through the source code of virt-what, there are codes like
&gt; ---- echo "aws" ---- to reveal the virtualization technology of AWS.
&gt; However, when I executed the script, the "aws" string did not come
&gt; out, but there went "xen \n xen-hvm".

Did you run it on an AWS guest?&nbsp; What flavor of AWS were you using?

&gt; So for what propose this script is designed?

It is supposed to tell you about the underlying hypervisor and/or
cloud, eg. if it's Xen, KVM, AWS, etc.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.&nbsp; Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

Attachment: B2C5565E@F8068E3F.FA16AE60.png
Description: Binary data

Reply via email to