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

List:       qemu-discuss
Subject:    How to insert /memreserve/ region in the device tree of qemu virt machine
From:       "Chan Kim" <ckim () etri ! re ! kr>
Date:       2021-10-13 15:03:35
Message-ID: 02c301d7c043$7ec4af80$7c4e0e80$ () etri ! re ! kr
[Download RAW message or body]

This is a multipart message in MIME format.


Hello, all

The arm64 virt machine make fdt inside the machvirt_init function.

I found "/memreserve/ offset length;" in device tree makes the memory region
not be touched by the guest OS. (correct me if I'm wrong).

But this /memreserve/ sits outside the root(/) of the device tree so I can't
use qemu_fdt_setprop_string function.

Is there a way to put this /memreserve/ string effect in the fdt the virt
machine generates?

Thanks for the help.

Chan Kim

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:"Malgun Gothic";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
	{font-family:"Malgun Gothic";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	text-autospace:none;
	word-break:break-hangul;
	font-size:10.0pt;
	font-family:"Malgun Gothic";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Malgun Gothic";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Malgun Gothic";}
/* Page Definitions */
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello, \
all<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The arm64 virt machine \
make fdt inside the machvirt_init function.<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US>I found &#8220;/memreserve/ offset length;&#8221; in \
device tree makes the memory region not be touched by the guest OS. (correct me if \
I&#8217;m wrong).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But this \
/memreserve/ sits outside the root(/) of the device tree so I can&#8217;t use \
qemu_fdt_setprop_string function.<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>Is there a way to put this /memreserve/ string effect in the fdt the virt \
machine generates?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks \
for the help.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Chan \
Kim<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US><o:p>&nbsp;</o:p></span></p></div></body></html>



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

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