All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-oe] virt-what: add the recipe
@ 2016-03-29  8:22 rongqing.li
  2016-03-29 14:22 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: rongqing.li @ 2016-03-29  8:22 UTC (permalink / raw)
  To: openembedded-devel

From: Roy Li <rongqing.li@windriver.com>

virt-what is a a shell script which can be used to detect if the program
is running in a virtual machine.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 .../recipes-extended/virt-what/virt-what_1.15.bb   | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-oe/recipes-extended/virt-what/virt-what_1.15.bb

diff --git a/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
new file mode 100644
index 0000000..7509eee
--- /dev/null
+++ b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Detect if we are running in a virtual machine"
+DESCRIPTION =" virt-what is a shell script which can be used to detect if the program \
+is running in a virtual machine. \
+The program prints out a list of "facts" about the virtual machine, \
+derived from heuristics.  One fact is printed per line. \
+If nothing is printed and the script exits with code 0 (no error), \
+then it can mean either that the program is running on bare-metal or \
+the program is running inside a type of virtual machine which we don't \
+know about or can't detect. \
+Current types of virtualization detected: \
+ - hyperv       Microsoft Hyper-V \
+ - kvm          Linux Kernel Virtual Machine (KVM) \
+ - openvz       OpenVZ or Virtuozzo \
+ - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator \
+ - qemu         QEMU (unaccelerated) \
+ - uml          User-Mode Linux (UML) \
+ - virtage      Hitachi Virtualization Manager (HVM) Virtage LPAR \
+ - virtualbox   VirtualBox \
+ - virtualpc    Microsoft VirtualPC \
+ - vmware       VMware \
+ - xen          Xen \
+ - xen-dom0     Xen dom0 (privileged domain) \
+ - xen-domU     Xen domU (paravirtualized guest domain) \
+ - xen-hvm      Xen guest fully virtualized (HVM) \
+"
+
+SECTION = "base"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "http://people.redhat.com/~rjones/virt-what/files/${PN}-${PV}.tar.gz"
+
+inherit autotools
+
+SRC_URI[md5sum] = "35d19ca3305e8ae88c1985fbd8388f53"
+SRC_URI[sha256sum] = "7ab9220d4682eadf9139c6afe62d33ebd273fff69e49054279caba5514937c41"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][meta-oe] virt-what: add the recipe
  2016-03-29  8:22 [PATCH][meta-oe] virt-what: add the recipe rongqing.li
@ 2016-03-29 14:22 ` Bruce Ashfield
  2016-03-30  1:42   ` Rongqing Li
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2016-03-29 14:22 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Mar 29, 2016 at 4:22 AM, <rongqing.li@windriver.com> wrote:

> From: Roy Li <rongqing.li@windriver.com>
>
> virt-what is a a shell script which can be used to detect if the program
> is running in a virtual machine.
>

Did you consider meta-virtualization for this ? not a big concern .. just
wondering.

Bruce


>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  .../recipes-extended/virt-what/virt-what_1.15.bb   | 36
> ++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
>
> diff --git a/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
> b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
> new file mode 100644
> index 0000000..7509eee
> --- /dev/null
> +++ b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "Detect if we are running in a virtual machine"
> +DESCRIPTION =" virt-what is a shell script which can be used to detect if
> the program \
> +is running in a virtual machine. \
> +The program prints out a list of "facts" about the virtual machine, \
> +derived from heuristics.  One fact is printed per line. \
> +If nothing is printed and the script exits with code 0 (no error), \
> +then it can mean either that the program is running on bare-metal or \
> +the program is running inside a type of virtual machine which we don't \
> +know about or can't detect. \
> +Current types of virtualization detected: \
> + - hyperv       Microsoft Hyper-V \
> + - kvm          Linux Kernel Virtual Machine (KVM) \
> + - openvz       OpenVZ or Virtuozzo \
> + - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator \
> + - qemu         QEMU (unaccelerated) \
> + - uml          User-Mode Linux (UML) \
> + - virtage      Hitachi Virtualization Manager (HVM) Virtage LPAR \
> + - virtualbox   VirtualBox \
> + - virtualpc    Microsoft VirtualPC \
> + - vmware       VMware \
> + - xen          Xen \
> + - xen-dom0     Xen dom0 (privileged domain) \
> + - xen-domU     Xen domU (paravirtualized guest domain) \
> + - xen-hvm      Xen guest fully virtualized (HVM) \
> +"
> +
> +SECTION = "base"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +SRC_URI = "
> http://people.redhat.com/~rjones/virt-what/files/${PN}-${PV}.tar.gz"
> +
> +inherit autotools
> +
> +SRC_URI[md5sum] = "35d19ca3305e8ae88c1985fbd8388f53"
> +SRC_URI[sha256sum] =
> "7ab9220d4682eadf9139c6afe62d33ebd273fff69e49054279caba5514937c41"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][meta-oe] virt-what: add the recipe
  2016-03-29 14:22 ` Bruce Ashfield
@ 2016-03-30  1:42   ` Rongqing Li
  0 siblings, 0 replies; 3+ messages in thread
From: Rongqing Li @ 2016-03-30  1:42 UTC (permalink / raw)
  To: openembedded-devel, Ashfield, Bruce



On 2016年03月29日 22:22, Bruce Ashfield wrote:
> On Tue, Mar 29, 2016 at 4:22 AM, <rongqing.li@windriver.com> wrote:
>
>> From: Roy Li <rongqing.li@windriver.com>
>>
>> virt-what is a a shell script which can be used to detect if the program
>> is running in a virtual machine.
>>
>
> Did you consider meta-virtualization for this ? not a big concern .. just
> wondering.
>
> Bruce

it is related virt, I will send it to meta-virtualization.

this is needed by tuned, so I add it firstly before add tuned.


-Roy

>
>
>>
>> Signed-off-by: Roy Li <rongqing.li@windriver.com>
>> ---
>>   .../recipes-extended/virt-what/virt-what_1.15.bb   | 36
>> ++++++++++++++++++++++
>>   1 file changed, 36 insertions(+)
>>   create mode 100644 meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
>>
>> diff --git a/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
>> b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
>> new file mode 100644
>> index 0000000..7509eee
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/virt-what/virt-what_1.15.bb
>> @@ -0,0 +1,36 @@
>> +SUMMARY = "Detect if we are running in a virtual machine"
>> +DESCRIPTION =" virt-what is a shell script which can be used to detect if
>> the program \
>> +is running in a virtual machine. \
>> +The program prints out a list of "facts" about the virtual machine, \
>> +derived from heuristics.  One fact is printed per line. \
>> +If nothing is printed and the script exits with code 0 (no error), \
>> +then it can mean either that the program is running on bare-metal or \
>> +the program is running inside a type of virtual machine which we don't \
>> +know about or can't detect. \
>> +Current types of virtualization detected: \
>> + - hyperv       Microsoft Hyper-V \
>> + - kvm          Linux Kernel Virtual Machine (KVM) \
>> + - openvz       OpenVZ or Virtuozzo \
>> + - powervm_lx86 IBM PowerVM Lx86 Linux/x86 emulator \
>> + - qemu         QEMU (unaccelerated) \
>> + - uml          User-Mode Linux (UML) \
>> + - virtage      Hitachi Virtualization Manager (HVM) Virtage LPAR \
>> + - virtualbox   VirtualBox \
>> + - virtualpc    Microsoft VirtualPC \
>> + - vmware       VMware \
>> + - xen          Xen \
>> + - xen-dom0     Xen dom0 (privileged domain) \
>> + - xen-domU     Xen domU (paravirtualized guest domain) \
>> + - xen-hvm      Xen guest fully virtualized (HVM) \
>> +"
>> +
>> +SECTION = "base"
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>> +
>> +SRC_URI = "
>> http://people.redhat.com/~rjones/virt-what/files/${PN}-${PV}.tar.gz"
>> +
>> +inherit autotools
>> +
>> +SRC_URI[md5sum] = "35d19ca3305e8ae88c1985fbd8388f53"
>> +SRC_URI[sha256sum] =
>> "7ab9220d4682eadf9139c6afe62d33ebd273fff69e49054279caba5514937c41"
>> --
>> 1.9.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>
>

-- 
Best Reagrds,
Roy | RongQing Li


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-30  1:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29  8:22 [PATCH][meta-oe] virt-what: add the recipe rongqing.li
2016-03-29 14:22 ` Bruce Ashfield
2016-03-30  1:42   ` Rongqing Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.