Get data of Physical Machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux