<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'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"><<a href="mailto:brendandg@nyu.edu" target="_blank">brendandg@nyu.edu</a>></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 "-usb<br>
-device usb-host,hostbus=X,hostaddr=Y" 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>
<<a href="mailto:mstamat@gmail.com">mstamat@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I have created a filesystem on a regular file on my host computer.<br>
> Is it possible to attach it to PANDA as a pseudo-usb stick?<br>
><br>
> Btw, I can't see usb enabled in config-target.mak. Yet, the guest doesn't<br>
> seem to load the usb kernel modules, and /sys/bus doesn't include usb. Do I<br>
> have to enable usb somehow?<br>
><br>
> M.<br>
><br>
</div></div>> _______________________________________________<br>
> panda-users mailing list<br>
> <a href="mailto:panda-users@mit.edu">panda-users@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
><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>