Correct method to virtualize the D1(R-01)?

I’'m trying to do some OS tinkering and I want to virtualize the R-01 to do it quickly(and with good early console/serial output). Is there a proper way of doing this to get it working?