dac_start_destroy: Add dac test cases

DAC is default enabled security driver in libvirt. In this start
and destroy test, cover per-VM DAC setting, global configuration
in qemu.conf alone testing and mix per-VM and global testing.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: Replace qemu conf sync function

The utils_config module updated, the sync function is removed,
update test case to use utils_libvirtd module for restart libvirtd
after conf change.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: Add case to cover security_default_confined as 0

Add case for cover unconfined DAC testing, 2 cases added to cover bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1105939

New cases with 'security_default_confined = 0' and seclabel as:
<seclabel type='none' model='dac' relabel='yes'/>

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: Update set_seclabel function to use list

Update according to vm_xml module change.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: Add cases for set_process_name as 1

When set_process_name as 1 in qemu conf, libvirt will have QEMU
set its process name to "qemu:VM_NAME", add test cases enable it
and check the qemu command.

Adjust set qemu.conf before per-VM seclabel, as seclabel will be
affected after qemu conf change.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: Use attr function when set qemu conf

Use attr functions to set values in conf.

Signed-off-by: Wayne Sun <gsun@redhat.com>
dac_start_destroy: tiny fixes

Signed-off-by: Wayne Sun <gsun@redhat.com>
Merge pull request #276 from waynesun09/dac_test

dac_start_destroy: Add dac test cases