[PATCH 4/5] test_driver: Pass virt_type to virNodeDeviceDefParse() in testNodeDeviceCreateXML()

Peter Krempa pkrempa at redhat.com
Wed Jul 19 10:26:18 UTC 2023


On Tue, Jul 18, 2023 at 17:27:37 +0200, Michal Privoznik wrote:
> This brings the code closer to real implementation:
> nodeDeviceCreateXML(). For the unique OUI, let's take the value
> from tests/virrandommock.c: 100000.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/test/test_driver.c | 7 +++++--
>  src/util/virrandom.c   | 3 +++
>  2 files changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list