qemu.tests: Update create_macvtap_device to cover more case.

Signed-off-by: Feng Yang <fyang@redhat.com>