Vinicius Gonçalves Braga
2012-Oct-23 13:37 UTC
[libvirt-users] Get data of Physical Machine
Hey, What kind of data de NodeInfo represents? With my researches I thought that it should return the data of the physical machine. But in my tests, when I run with diferents URLs in Connect creation the values of nodeInfo variables are differents. For example: it's the same machine, but if I run with xen:/// the memory is X and if I run with qemu:///session the memory is Y. Connect conn = new Connect("xen:///", false); NodeInfo nodeInfo = conn.nodeInfo(); assertEquals("nodeInfo.model", "i686", nodeInfo.model); assertEquals("nodeInfo.memory", 3145728, nodeInfo.mhz); assertEquals("nodeInfo.cpus", 16, nodeInfo.cpus); assertEquals("nodeInfo.cpus", 16, nodeInfo.maxCpus()); assertEquals("nodeInfo.nodes", 2, nodeInfo.nodes); assertEquals("nodeInfo.sockets", 2, nodeInfo.sockets); assertEquals("nodeInfo.cores", 2, nodeInfo.cores); assertEquals("nodeInfo.threads", 2, nodeInfo.threads); Another question is how can I connect with XenServer, the native hypervisor? Is it the same driver for Xen? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121023/d9e21d33/attachment.htm>
Maybe Matching Threads
- R: Using libvirt to monitor virtual environment.
- how to detect if qemu supports live disk snapshot
- [PATCH] Converter: Fixes to Xen metadata conversion
- Re: [PATCH] v2v: Set machine type explicitly for outputs which support it (RHBZ#1581428).
- How to config qga to support dompmsuspend