Skip to content

Commit

Permalink
Merge pull request #11593 from acardace/fix-memory-hotplug
Browse files Browse the repository at this point in the history
virtwrap: Don't ignore <memory><target><address>
  • Loading branch information
kubevirt-bot committed Mar 28, 2024
2 parents d6fa126 + 378ffb1 commit 21b0183
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
23 changes: 22 additions & 1 deletion pkg/virt-launcher/virtwrap/api/deepcopy_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions pkg/virt-launcher/virtwrap/api/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,17 @@ type MemoryBackingAccess struct {
type NoSharePages struct {
}

type MemoryAddress struct {
Base string `xml:"base,attr"`
}

type MemoryTarget struct {
Size Memory `xml:"size"`
Requested Memory `xml:"requested"`
Current Memory `xml:"current"`
Node string `xml:"node"`
Block Memory `xml:"block"`
Size Memory `xml:"size"`
Requested Memory `xml:"requested"`
Current Memory `xml:"current"`
Node string `xml:"node"`
Block Memory `xml:"block"`
Address *MemoryAddress `xml:"address,omitempty"`
}

type MemoryDevice struct {
Expand Down

0 comments on commit 21b0183

Please sign in to comment.