<div dir="ltr">Great, thanks!<div><br></div><div>Maybe this should be added to some panda documentation file?</div><div><br></div><div>I tried googling how to do this but I couldn&#39;t find all the information in one place.</div><div><br></div><div>M.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-23 0:49 GMT+02:00 Brendan Dolan-Gavitt <span dir="ltr">&lt;<a href="mailto:brendandg@nyu.edu" target="_blank">brendandg@nyu.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yep, you can boot with -usbdevice disk:filename or use the usb_add<br>
command in the monitor. As for USB being enabled – in the version of<br>
QEMU we based PANDA on USB support was disabled by default. You have<br>
to boot with -usb in order to enable it.<br>
<br>
You can even use real USB devices connected to your system with &quot;-usb<br>
-device usb-host,hostbus=X,hostaddr=Y&quot; where X and Y are the values<br>
you get from lsusb. This also works with record and replay :)<br>
<br>
-Brendan<br>
<div><div class="h5"><br>
On Wed, Jun 22, 2016 at 4:40 PM, Manolis Stamatogiannakis<br>
&lt;<a href="mailto:mstamat@gmail.com">mstamat@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have created a filesystem on a regular file on my host computer.<br>
&gt; Is it possible to attach it to PANDA as a pseudo-usb stick?<br>
&gt;<br>
&gt; Btw, I can&#39;t see usb enabled in config-target.mak. Yet, the guest doesn&#39;t<br>
&gt; seem to load the usb kernel modules, and /sys/bus doesn&#39;t include usb. Do I<br>
&gt; have to enable usb somehow?<br>
&gt;<br>
&gt; M.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; panda-users mailing list<br>
&gt; <a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Brendan Dolan-Gavitt<br>
Assistant Professor, Department of Computer Science and Engineering<br>
NYU Tandon School of Engineering<br>
</font></span></blockquote></div><br></div>