In order to test this through vmtest, we'll need some iscsi server.
I've done some work at [1] which at minimum will show how to register a new device into iscsi, and add it and then remove it within a given xkvm. the 'tgt-boot-test' there handles adding a block device to tgt and then tearing it down.
In order to test this through vmtest, we'll need some iscsi server.
I've done some work at [1] which at minimum will show how to register a new device into iscsi, and add it and then remove it within a given xkvm. the 'tgt-boot-test' there handles adding a block device to tgt and then tearing it down.
[1] https:/ /git.launchpad. net/~smoser/ ubuntu/ +source/ open-iscsi/ tree/debian/ tests/README- boot-test. md?h=diglett- master