[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    [libvirt-users] Fw: HELP
From:       "zhunxun () gmail ! com" <zhunxun () gmail ! com>
Date:       2016-10-18 11:17:25
Message-ID: 201610181917233156729 () gmail ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]





zhunxun@gmail.com
 
From: zhunxun@gmail.com
Date: 2016-10-18 18:46
To: berrange
Subject: HELP
Now I want to get qemu:commandline XML content in Libvirt,and then do my own job,but \
I do not know how to do it.Can you help me?? thank you !
the xml content is follows:
 <qemu:commandline>
    <qemu:arg value='-enable-kvm'/>
    <qemu:arg value='-drive'/>
    <qemu:arg value='file=/root/nvram_2.0-jin.qcow2,if=none,id=nvram0-0-0,format=qcow2'/>
  <qemu:arg value='-device'/>
    <qemu:arg value='tpm-tis,tpmdev=tpm-tpm0,id=tpm0'/>
    <qemu:arg value='-tpmdev'/>
    <qemu:arg value='libtpms,id=tpm-tpm0,nvram=nvram0-0-0,startup=clear'/>
    <qemu:arg value='-bios'/>
    <qemu:arg value='/root/xenSeabios/out/bios.bin'/>
  </qemu:commandline>

Now I want to get third  file path,how can I  get it ??
thanks very much!!


zhunxun@gmail.com


[Attachment #3 (text/html)]

<html><head><meta http-equiv="content-type" content="text/html; \
charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; \
margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20161018191635297500 { }body { \
font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); \
line-height: 1.5; }</style></head><body> <div><span></span><br></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" \
align="left"> <div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: \
10pt"><div>zhunxun@gmail.com</div></div></span></div> <blockquote style="margin-top: \
0px; margin-bottom: 0px; margin-left: 0.5em;"><div>&nbsp;</div><div \
style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div \
style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: \
12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; \
PADDING-TOP: 8px"><div><b>From:</b>&nbsp;<a \
href="mailto:zhunxun@gmail.com">zhunxun@gmail.com</a></div><div><b>Date:</b>&nbsp;2016-10-18&nbsp;18:46</div><div><b>To:</b>&nbsp;<a \
href="mailto:berrange@redhat.com">berrange</a></div><div><b>Subject:</b>&nbsp;HELP</div></div></div><div><div \
class="FoxDiv20161018191635297500"><div>Now I want to get qemu:commandline XML \
content in Libvirt,and then do my own job,but I do not know how to do it.Can you help \
me??</div><div>thank you !</div> <div>the xml content is follows:</div><div><span \
style="font-family: &quot;" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" \
color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" \
normal;="" font-style:="" normal;text-decoration:="" \
none;'="">&nbsp;&lt;qemu:commandline&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp; \
value='-enable-kvm'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='-drive'/& \
gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='file=<b>/root/nvram_2.0-jin.qc \
ow2</b>,if=none,id=nvram0-0-0,format=qcow2'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:a \
rg&nbsp;value='-device'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='tpm-t \
is,tpmdev=tpm-tpm0,id=tpm0'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='- \
tpmdev'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='libtpms,id=tpm-tpm0,n \
vram=nvram0-0-0,startup=clear'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value \
='-bios'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;qemu:arg&nbsp;value='/root/xenSeabios/out \
/bios.bin'/&gt;<br>&nbsp;&nbsp;&lt;/qemu:commandline&gt;<br></span></div><div><span \
style="font-family: &quot;" microsoft="" yahei="" ui'";="" font-size:="" 14px;="" \
color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" \
normal;="" font-style:="" normal;text-decoration:="" \
none;'=""><br></span></div><div><span style="font-family: &quot;" microsoft="" \
yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" \
background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" \
normal;text-decoration:="" none;'="">Now I want to get third &nbsp;file path,how can \
I &nbsp;get it ??</span></div><div><span style="font-family: &quot;" microsoft="" \
yahei="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" \
background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" \
normal;text-decoration:="" none;'="">thanks very much!!</span></div><hr style="WIDTH: \
210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left"> <div><span><div \
style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: \
10pt"><div>zhunxun@gmail.com</div></div></span></div> </div></div></blockquote>
</body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic