qemu-java icon indicating copy to clipboard operation
qemu-java copied to clipboard

Example code

Open cholcombe973 opened this issue 9 years ago • 1 comments

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 :)

cholcombe973 avatar May 07 '15 17:05 cholcombe973

Also: new QEmuVirtioNetRecipe(allocator).withMac("08:00:20:c0:ff:ee") Should be: new QEmuVirtioNetRecipe(allocator,"tap0").withMac("08:00:20:c0:ff:ee")

cholcombe973 avatar May 07 '15 17:05 cholcombe973