virsh_setmem: fix setting the memory into original size

We should restore memory into original size by using the original_outside_mem
instead of original_inside_mem because the inside mem is lower than the outside
mem and because of the virsh setmem command is setting the outside mem.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virsh_setmem: fix the checking of the result value

There are some tests that have different result on older libvirt and
newer libvirt. The right condition is that the new libvirt should not
fail, but the older one should fail. By this patch we follow this
behaviour.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virsh_setmem: wait for libvirt service fully start

We restart the libvirt service and right after that, we run the virsh
command, but the service shouldn't be fully started. We should wait 1 sec
before running the virsh command.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
virttest.virsh: change the order of creating the setmem command line

It is possible to call 'virsh setmem --domain test 524288' but the current
code create 'virsh setmem 524288 --domain test' for the right parameters.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>