From 7cb94bb9b192714ad25c9b0df7f5ed06e625c87b Mon Sep 17 00:00:00 2001 From: DrymarchonShaun <40149778+DrymarchonShaun@users.noreply.github.com> Date: Mon, 26 Aug 2024 18:42:54 -0700 Subject: [PATCH] feat: add vendor.id and product.id to hostdev.source --- generate-xml/domain.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generate-xml/domain.nix b/generate-xml/domain.nix index 3413ad9..a582f34 100644 --- a/generate-xml/domain.nix +++ b/generate-xml/domain.nix @@ -365,7 +365,11 @@ let ] [ (subelem "driver" [ (subattr "name" typeString) (subattr "model" typeString) ] [ ]) - (subelem "source" [ ] [ addresselem ]) + (subelem "source" [ ] [ + (subelem "vendor" [ (subattr "id" typeInt) ] [ ]) + (subelem "product" [ (subattr "id" typeInt) ] [ ]) + addresselem + ]) (subelem "boot" [ (subattr "order" typeInt) ] [ ]) addresselem ]