]> xenbits.xensource.com Git - libvirt.git/commit
test: Refactor vcpu pinning and vcpu info retrieval
authorPeter Krempa <pkrempa@redhat.com>
Wed, 17 Jun 2015 09:05:21 +0000 (11:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 25 Jun 2015 13:09:02 +0000 (15:09 +0200)
commit3dd859c0c2a1a678960c5ffc64f59f87e89cff57
treeecd8a1d6d4a98cb414b45653d13ee7f76c47e5fd
parentb69ffc574684c4f6c15ea650cb5b92d73e304373
test: Refactor vcpu pinning and vcpu info retrieval

Drop internal data structures and use the proper fields in virDomainDef.

This allows to greatly simplify the code and allows to remove the
private data structure that was holding just redundant data.

This patch also fixes the bogous output where we'd report that a fresh
VM without vCPU pinning would not run on all vcpus.
src/test/test_driver.c