From ec5040824efb7c431951c499f362fa1fc3306151 Mon Sep 17 00:00:00 2001 From: Ben Mayer Date: Fri, 12 Apr 2024 20:56:21 +0200 Subject: [PATCH] Add iothreads section --- CHANGELOG.md | 1 + generate-xml/domain.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45dd57c..1847739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Allow in cpu section, customization of the `feature` and `cache` option * Add section `sysinfo` * add bootorder for device `disk` and `hostdev` + * add section `iothreads` ## [0.5.0] * Lib: diff --git a/generate-xml/domain.nix b/generate-xml/domain.nix index c382e5a..52f61ce 100644 --- a/generate-xml/domain.nix +++ b/generate-xml/domain.nix @@ -15,6 +15,7 @@ let (subelem "memory" [ (subattr "unit" typeString) ] (sub "count" typeInt)) (subelem "currentMemory" [ (subattr "unit" typeString) ] (sub "count" typeInt)) (subelem "vcpu" [ (subattr "placement" typeString) ] (sub "count" typeInt)) + (subelem "iothreads" [ ] (sub "count" typeInt)) (subelem "sysinfo" [ (subattr "type" typeString) ] [ (subelem "bios" [] [