File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
qemu-manager/src/test/java/org/anarres/qemu/manager Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 14
14
import org .anarres .qemu .exec .QEmuCpusOption ;
15
15
import org .anarres .qemu .exec .QEmuTestUtils ;
16
16
import org .anarres .qemu .exec .recipe .QEmuVirtioDriveRecipe ;
17
+ import org .anarres .qemu .image .QEmuImageFormat ;
17
18
import org .anarres .qemu .qapi .api .BlockdevAddCommand ;
18
19
import org .anarres .qemu .qapi .api .BlockdevAioOptions ;
19
20
import org .anarres .qemu .qapi .api .BlockdevCacheOptions ;
@@ -43,7 +44,8 @@ public void testManager() throws Exception {
43
44
QEmuCommandLine commandLine = QEmuTestUtils .newCommandLine ();
44
45
commandLine .addOptions (
45
46
new QEmuCpusOption (4 ).withSockets (2 ).withCores (2 ),
46
- new QEmuVirtioDriveRecipe (0 , QEmuTestUtils .newTemporaryDisk (dir , "sda" )));
47
+ new QEmuVirtioDriveRecipe (0 , QEmuTestUtils .newTemporaryDisk (dir , "sda" ))
48
+ .withFormat (QEmuImageFormat .raw ));
47
49
QEmuProcess process = QEmuTestUtils .newQEmuProcess (commandLine );
48
50
try {
49
51
QApiConnection connection = process .getConnection (10 , TimeUnit .SECONDS );
You can’t perform that action at this time.
0 commit comments