tests.kdump: Add new sub test for multiple guests

define some functions for kdump, maybe other case
can reuse these functions late.

Signed-off-by: Shuping Cui <scui@redhat.com>
qemu.test: Update the check method in smbios_table

In the machine_type check for smbios_table, we only care the main version
information but not the details. And the command line output from guest
will include more than the version info:
System.Version mismatch, Set 'RHEL 7.0.0 PC'
but guest is : 'RHEL 7.0.0 PC (i440FX + PIIX, 1996)'

So update the check method for it.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #1349 from ypu/smbios_table

qemu.test: Update the check method in smbios_table
Merge pull request #1305 from spcui/kdump

tests.kdump: Add new sub test for multiple guests
virsh_create_pool: Fix test error

The test tried to use a non-existent "/tmp/<file>.xml" - so instead
of doing that - I've created a "tmp/<file>.xml" on the fly using the
data images directory as the pool location (e.g. where the jeos lives)

Secondarily, I found that the test was destroying my running default
pool. So two subsequent runs would have different results. Turns out
there is a positive and negative run for "default" pool copying - in
one instance the pool isn't stopped and a new one is attempted to be
created, resulting in the expected error; however, in the finally path
there was no check to not destroy the "created" pool.

Finally, the deletion & recreation of the default pool missed resetting
the pool 'autostart' attribute. Taking a cue from the net-* code which
had similar functionality - add code that will save off the autostart state
of each pool so that it can be regenerated afterwards.