Skip to content

Commit

Permalink
Fix parsing of OS type from VM's XML
Browse files Browse the repository at this point in the history
  • Loading branch information
skobyda authored and martinpitt committed Jan 26, 2024
1 parent f175eab commit e2274ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libvirt-xml-parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export function parseDomainDumpxml(connectionName, domXml, objPath) {

const name = domainElem.getElementsByTagName("name")[0].childNodes[0].nodeValue;
const id = objPath;
const osType = osTypeElem.nodeValue;
const osType = osTypeElem.childNodes[0].nodeValue;
const osBoot = parseDumpxmlForOsBoot(osBootElems);
const arch = osTypeElem.getAttribute("arch");
const emulatedMachine = osTypeElem.getAttribute("machine");
Expand Down

0 comments on commit e2274ac

Please sign in to comment.