qemu-java
qemu-java copied to clipboard
Example code
The example code contains an import error. This fixes it: new QEmuVirtioDriveRecipe(allocator, "/var/tmp/qemu/sys-1/vda").withFormat(QEmuImageFormat.raw).withCache(Cache.unsafe),
Format.raw doesn't resolve in netbeans but QEmuImageFormat does :)
Also: new QEmuVirtioNetRecipe(allocator).withMac("08:00:20:c0:ff:ee") Should be: new QEmuVirtioNetRecipe(allocator,"tap0").withMac("08:00:20:c0:ff:ee")