driver: catch error on conn.capabilities

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
driver: check hypervisor type is qemu

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
fix spec test stub for driver

Signed-off-by: Hiroshi Miura <miurahr@linux.com>