Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example code #4

Open
cholcombe973 opened this issue May 7, 2015 · 1 comment
Open

Example code #4

cholcombe973 opened this issue May 7, 2015 · 1 comment

Comments

@cholcombe973
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant