]> Git Repo - qemu.git/blobdiff - block/stream.c
job: Add JobDriver.job_type
[qemu.git] / block / stream.c
index df9660d2fca2ed7b327fa1e9c004a59abce8fc18..cb723f190afc971f9868d2375d44c51f0154d2fa 100644 (file)
@@ -209,8 +209,10 @@ out:
 }
 
 static const BlockJobDriver stream_job_driver = {
-    .instance_size = sizeof(StreamBlockJob),
-    .job_type      = BLOCK_JOB_TYPE_STREAM,
+    .job_driver = {
+        .instance_size = sizeof(StreamBlockJob),
+        .job_type      = JOB_TYPE_STREAM,
+    },
     .start         = stream_run,
 };
 
This page took 0.024384 seconds and 4 git commands to generate.