mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
test: Add scsi vport nodedev to test:///default
A nodedev device definition like this is required for testing NodeDeviceCreateXML and NodeDeviceDestroy. So unless it's part of the stock test:///default set there's no way to actually invoke those functions for the default URI
This commit is contained in:
parent
849ec0ce4b
commit
6fd8a1e614
@ -466,6 +466,18 @@ static const char *defaultConnXML =
|
||||
" </firmware>"
|
||||
" </capability>"
|
||||
"</device>"
|
||||
"<device>"
|
||||
" <name>test-scsi-host-vport</name>"
|
||||
" <parent>computer</parent>"
|
||||
" <capability type='scsi_host'>"
|
||||
" <host>1</host>"
|
||||
" <capability type='fc_host'>"
|
||||
" <wwnn>2000000012341234</wwnn>"
|
||||
" <wwpn>1000000012341234</wwpn>"
|
||||
" </capability>"
|
||||
" <capability type='vport_ops'/>"
|
||||
" </capability>"
|
||||
"</device>"
|
||||
"</node>";
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user