1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
|
kernel virtual machine: 0.908
mistranslation: 0.881
risc-v: 0.859
other: 0.839
boot: 0.830
TCG: 0.828
vnc: 0.820
device: 0.810
permissions: 0.802
register: 0.797
debug: 0.788
assembly: 0.768
network: 0.768
graphic: 0.764
arm: 0.761
socket: 0.758
semantic: 0.752
performance: 0.744
architecture: 0.742
PID: 0.731
x86: 0.730
files: 0.730
[Qemu-devel] [BUG?] aio_get_linux_aio: Assertion `ctx->linux_aio' failed
Hi,
I am seeing some strange QEMU assertion failures for qemu on s390x,
which prevents a guest from starting.
Git bisecting points to the following commit as the source of the error.
commit ed6e2161715c527330f936d44af4c547f25f687e
Author: Nishanth Aravamudan <address@hidden>
Date: Fri Jun 22 12:37:00 2018 -0700
linux-aio: properly bubble up errors from initialization
laio_init() can fail for a couple of reasons, which will lead to a NULL
pointer dereference in laio_attach_aio_context().
To solve this, add a aio_setup_linux_aio() function which is called
early in raw_open_common. If this fails, propagate the error up. The
signature of aio_get_linux_aio() was not modified, because it seems
preferable to return the actual errno from the possible failing
initialization calls.
Additionally, when the AioContext changes, we need to associate a
LinuxAioState with the new AioContext. Use the bdrv_attach_aio_context
callback and call the new aio_setup_linux_aio(), which will allocate a
new AioContext if needed, and return errors on failures. If it
fails for
any reason, fallback to threaded AIO with an error message, as the
device is already in-use by the guest.
Add an assert that aio_get_linux_aio() cannot return NULL.
Signed-off-by: Nishanth Aravamudan <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>
Not sure what is causing this assertion to fail. Here is the qemu
command line of the guest, from qemu log, which throws this error:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
QEMU_AUDIO_DRV=none /usr/local/bin/qemu-system-s390x -name
guest=rt_vm1,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-21-rt_vm1/master-key.aes
-machine s390-ccw-virtio-2.12,accel=kvm,usb=off,dump-guest-core=off -m
1024 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -object
iothread,id=iothread1 -uuid 0cde16cd-091d-41bd-9ac2-5243df5c9a0d
-display none -no-user-config -nodefaults -chardev
socket,id=charmonitor,fd=28,server,nowait -mon
chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-boot strict=on -drive
file=/dev/mapper/360050763998b0883980000002a000031,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native
-device
virtio-blk-ccw,iothread=iothread1,scsi=off,devno=fe.0.0001,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on
-netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
virtio-net-ccw,netdev=hostnet0,id=net0,mac=02:3a:c8:67:95:84,devno=fe.0.0000
-netdev tap,fd=32,id=hostnet1,vhost=on,vhostfd=33 -device
virtio-net-ccw,netdev=hostnet1,id=net1,mac=52:54:00:2a:e5:08,devno=fe.0.0002
-chardev pty,id=charconsole0 -device
sclpconsole,chardev=charconsole0,id=console0 -device
virtio-balloon-ccw,id=balloon0,devno=fe.3.ffba -sandbox
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny
-msg timestamp=on
2018-07-17 15:48:42.252+0000: Domain id=21 is tainted: high-privileges
2018-07-17T15:48:42.279380Z qemu-system-s390x: -chardev
pty,id=charconsole0: char device redirected to /dev/pts/3 (label
charconsole0)
qemu-system-s390x: util/async.c:339: aio_get_linux_aio: Assertion
`ctx->linux_aio' failed.
2018-07-17 15:48:43.309+0000: shutting down, reason=failed
Any help debugging this would be greatly appreciated.
Thank you
Farhan
On 17.07.2018 [13:25:53 -0400], Farhan Ali wrote:
>
Hi,
>
>
I am seeing some strange QEMU assertion failures for qemu on s390x,
>
which prevents a guest from starting.
>
>
Git bisecting points to the following commit as the source of the error.
>
>
commit ed6e2161715c527330f936d44af4c547f25f687e
>
Author: Nishanth Aravamudan <address@hidden>
>
Date: Fri Jun 22 12:37:00 2018 -0700
>
>
linux-aio: properly bubble up errors from initialization
>
>
laio_init() can fail for a couple of reasons, which will lead to a NULL
>
pointer dereference in laio_attach_aio_context().
>
>
To solve this, add a aio_setup_linux_aio() function which is called
>
early in raw_open_common. If this fails, propagate the error up. The
>
signature of aio_get_linux_aio() was not modified, because it seems
>
preferable to return the actual errno from the possible failing
>
initialization calls.
>
>
Additionally, when the AioContext changes, we need to associate a
>
LinuxAioState with the new AioContext. Use the bdrv_attach_aio_context
>
callback and call the new aio_setup_linux_aio(), which will allocate a
>
new AioContext if needed, and return errors on failures. If it fails for
>
any reason, fallback to threaded AIO with an error message, as the
>
device is already in-use by the guest.
>
>
Add an assert that aio_get_linux_aio() cannot return NULL.
>
>
Signed-off-by: Nishanth Aravamudan <address@hidden>
>
Message-id: address@hidden
>
Signed-off-by: Stefan Hajnoczi <address@hidden>
>
>
>
Not sure what is causing this assertion to fail. Here is the qemu command
>
line of the guest, from qemu log, which throws this error:
>
>
>
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
>
QEMU_AUDIO_DRV=none /usr/local/bin/qemu-system-s390x -name
>
guest=rt_vm1,debug-threads=on -S -object
>
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-21-rt_vm1/master-key.aes
>
-machine s390-ccw-virtio-2.12,accel=kvm,usb=off,dump-guest-core=off -m 1024
>
-realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -object
>
iothread,id=iothread1 -uuid 0cde16cd-091d-41bd-9ac2-5243df5c9a0d -display
>
none -no-user-config -nodefaults -chardev
>
socket,id=charmonitor,fd=28,server,nowait -mon
>
chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot
>
strict=on -drive
>
file=/dev/mapper/360050763998b0883980000002a000031,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native
>
-device
>
virtio-blk-ccw,iothread=iothread1,scsi=off,devno=fe.0.0001,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on
>
-netdev tap,fd=30,id=hostnet0,vhost=on,vhostfd=31 -device
>
virtio-net-ccw,netdev=hostnet0,id=net0,mac=02:3a:c8:67:95:84,devno=fe.0.0000
>
-netdev tap,fd=32,id=hostnet1,vhost=on,vhostfd=33 -device
>
virtio-net-ccw,netdev=hostnet1,id=net1,mac=52:54:00:2a:e5:08,devno=fe.0.0002
>
-chardev pty,id=charconsole0 -device
>
sclpconsole,chardev=charconsole0,id=console0 -device
>
virtio-balloon-ccw,id=balloon0,devno=fe.3.ffba -sandbox
>
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg
>
timestamp=on
>
>
>
>
2018-07-17 15:48:42.252+0000: Domain id=21 is tainted: high-privileges
>
2018-07-17T15:48:42.279380Z qemu-system-s390x: -chardev pty,id=charconsole0:
>
char device redirected to /dev/pts/3 (label charconsole0)
>
qemu-system-s390x: util/async.c:339: aio_get_linux_aio: Assertion
>
`ctx->linux_aio' failed.
>
2018-07-17 15:48:43.309+0000: shutting down, reason=failed
>
>
>
Any help debugging this would be greatly appreciated.
iiuc, this possibly implies AIO was not actually used previously on this
guest (it might have silently been falling back to threaded IO?). I
don't have access to s390x, but would it be possible to run qemu under
gdb and see if aio_setup_linux_aio is being called at all (I think it
might not be, but I'm not sure why), and if so, if it's for the context
in question?
If it's not being called first, could you see what callpath is calling
aio_get_linux_aio when this assertion trips?
Thanks!
-Nish
On 07/17/2018 04:52 PM, Nishanth Aravamudan wrote:
iiuc, this possibly implies AIO was not actually used previously on this
guest (it might have silently been falling back to threaded IO?). I
don't have access to s390x, but would it be possible to run qemu under
gdb and see if aio_setup_linux_aio is being called at all (I think it
might not be, but I'm not sure why), and if so, if it's for the context
in question?
If it's not being called first, could you see what callpath is calling
aio_get_linux_aio when this assertion trips?
Thanks!
-Nish
Hi Nishant,
From the coredump of the guest this is the call trace that calls
aio_get_linux_aio:
Stack trace of thread 145158:
#0 0x000003ff94dbe274 raise (libc.so.6)
#1 0x000003ff94da39a8 abort (libc.so.6)
#2 0x000003ff94db62ce __assert_fail_base (libc.so.6)
#3 0x000003ff94db634c __assert_fail (libc.so.6)
#4 0x000002aa20db067a aio_get_linux_aio (qemu-system-s390x)
#5 0x000002aa20d229a8 raw_aio_plug (qemu-system-s390x)
#6 0x000002aa20d309ee bdrv_io_plug (qemu-system-s390x)
#7 0x000002aa20b5a8ea virtio_blk_handle_vq (qemu-system-s390x)
#8 0x000002aa20db2f6e aio_dispatch_handlers (qemu-system-s390x)
#9 0x000002aa20db3c34 aio_poll (qemu-system-s390x)
#10 0x000002aa20be32a2 iothread_run (qemu-system-s390x)
#11 0x000003ff94f879a8 start_thread (libpthread.so.0)
#12 0x000003ff94e797ee thread_start (libc.so.6)
Thanks for taking a look and responding.
Thanks
Farhan
On 07/18/2018 09:42 AM, Farhan Ali wrote:
On 07/17/2018 04:52 PM, Nishanth Aravamudan wrote:
iiuc, this possibly implies AIO was not actually used previously on this
guest (it might have silently been falling back to threaded IO?). I
don't have access to s390x, but would it be possible to run qemu under
gdb and see if aio_setup_linux_aio is being called at all (I think it
might not be, but I'm not sure why), and if so, if it's for the context
in question?
If it's not being called first, could you see what callpath is calling
aio_get_linux_aio when this assertion trips?
Thanks!
-Nish
Hi Nishant,
From the coredump of the guest this is the call trace that calls
aio_get_linux_aio:
Stack trace of thread 145158:
#0Â 0x000003ff94dbe274 raise (libc.so.6)
#1Â 0x000003ff94da39a8 abort (libc.so.6)
#2Â 0x000003ff94db62ce __assert_fail_base (libc.so.6)
#3Â 0x000003ff94db634c __assert_fail (libc.so.6)
#4Â 0x000002aa20db067a aio_get_linux_aio (qemu-system-s390x)
#5Â 0x000002aa20d229a8 raw_aio_plug (qemu-system-s390x)
#6Â 0x000002aa20d309ee bdrv_io_plug (qemu-system-s390x)
#7Â 0x000002aa20b5a8ea virtio_blk_handle_vq (qemu-system-s390x)
#8Â 0x000002aa20db2f6e aio_dispatch_handlers (qemu-system-s390x)
#9Â 0x000002aa20db3c34 aio_poll (qemu-system-s390x)
#10 0x000002aa20be32a2 iothread_run (qemu-system-s390x)
#11 0x000003ff94f879a8 start_thread (libpthread.so.0)
#12 0x000003ff94e797ee thread_start (libc.so.6)
Thanks for taking a look and responding.
Thanks
Farhan
Trying to debug a little further, the block device in this case is a
"host device". And looking at your commit carefully you use the
bdrv_attach_aio_context callback to setup a Linux AioContext.
For some reason the "host device" struct (BlockDriver bdrv_host_device
in block/file-posix.c) does not have a bdrv_attach_aio_context defined.
So a simple change of adding the callback to the struct solves the issue
and the guest starts fine.
diff --git a/block/file-posix.c b/block/file-posix.c
index 28824aa..b8d59fb 100644
--- a/block/file-posix.c
+++ b/block/file-posix.c
@@ -3135,6 +3135,7 @@ static BlockDriver bdrv_host_device = {
.bdrv_refresh_limits = raw_refresh_limits,
.bdrv_io_plug = raw_aio_plug,
.bdrv_io_unplug = raw_aio_unplug,
+ .bdrv_attach_aio_context = raw_aio_attach_aio_context,
.bdrv_co_truncate = raw_co_truncate,
.bdrv_getlength = raw_getlength,
I am not too familiar with block device code in QEMU, so not sure if
this is the right fix or if there are some underlying problems.
Thanks
Farhan
On 18.07.2018 [11:10:27 -0400], Farhan Ali wrote:
>
>
>
On 07/18/2018 09:42 AM, Farhan Ali wrote:
>
>
>
>
>
> On 07/17/2018 04:52 PM, Nishanth Aravamudan wrote:
>
> > iiuc, this possibly implies AIO was not actually used previously on this
>
> > guest (it might have silently been falling back to threaded IO?). I
>
> > don't have access to s390x, but would it be possible to run qemu under
>
> > gdb and see if aio_setup_linux_aio is being called at all (I think it
>
> > might not be, but I'm not sure why), and if so, if it's for the context
>
> > in question?
>
> >
>
> > If it's not being called first, could you see what callpath is calling
>
> > aio_get_linux_aio when this assertion trips?
>
> >
>
> > Thanks!
>
> > -Nish
>
>
>
>
>
> Hi Nishant,
>
>
>
> From the coredump of the guest this is the call trace that calls
>
> aio_get_linux_aio:
>
>
>
>
>
> Stack trace of thread 145158:
>
> #0Â 0x000003ff94dbe274 raise (libc.so.6)
>
> #1Â 0x000003ff94da39a8 abort (libc.so.6)
>
> #2Â 0x000003ff94db62ce __assert_fail_base (libc.so.6)
>
> #3Â 0x000003ff94db634c __assert_fail (libc.so.6)
>
> #4Â 0x000002aa20db067a aio_get_linux_aio (qemu-system-s390x)
>
> #5Â 0x000002aa20d229a8 raw_aio_plug (qemu-system-s390x)
>
> #6Â 0x000002aa20d309ee bdrv_io_plug (qemu-system-s390x)
>
> #7Â 0x000002aa20b5a8ea virtio_blk_handle_vq (qemu-system-s390x)
>
> #8Â 0x000002aa20db2f6e aio_dispatch_handlers (qemu-system-s390x)
>
> #9Â 0x000002aa20db3c34 aio_poll (qemu-system-s390x)
>
> #10 0x000002aa20be32a2 iothread_run (qemu-system-s390x)
>
> #11 0x000003ff94f879a8 start_thread (libpthread.so.0)
>
> #12 0x000003ff94e797ee thread_start (libc.so.6)
>
>
>
>
>
> Thanks for taking a look and responding.
>
>
>
> Thanks
>
> Farhan
>
>
>
>
>
>
>
>
Trying to debug a little further, the block device in this case is a "host
>
device". And looking at your commit carefully you use the
>
bdrv_attach_aio_context callback to setup a Linux AioContext.
>
>
For some reason the "host device" struct (BlockDriver bdrv_host_device in
>
block/file-posix.c) does not have a bdrv_attach_aio_context defined.
>
So a simple change of adding the callback to the struct solves the issue and
>
the guest starts fine.
>
>
>
diff --git a/block/file-posix.c b/block/file-posix.c
>
index 28824aa..b8d59fb 100644
>
--- a/block/file-posix.c
>
+++ b/block/file-posix.c
>
@@ -3135,6 +3135,7 @@ static BlockDriver bdrv_host_device = {
>
.bdrv_refresh_limits = raw_refresh_limits,
>
.bdrv_io_plug = raw_aio_plug,
>
.bdrv_io_unplug = raw_aio_unplug,
>
+ .bdrv_attach_aio_context = raw_aio_attach_aio_context,
>
>
.bdrv_co_truncate = raw_co_truncate,
>
.bdrv_getlength = raw_getlength,
>
>
>
>
I am not too familiar with block device code in QEMU, so not sure if
>
this is the right fix or if there are some underlying problems.
Oh this is quite embarassing! I only added the bdrv_attach_aio_context
callback for the file-backed device. Your fix is definitely corect for
host device. Let me make sure there weren't any others missed and I will
send out a properly formatted patch. Thank you for the quick testing and
turnaround!
-Nish
On 07/18/2018 08:52 PM, Nishanth Aravamudan wrote:
>
On 18.07.2018 [11:10:27 -0400], Farhan Ali wrote:
>
>
>
>
>
> On 07/18/2018 09:42 AM, Farhan Ali wrote:
>
>>
>
>>
>
>> On 07/17/2018 04:52 PM, Nishanth Aravamudan wrote:
>
>>> iiuc, this possibly implies AIO was not actually used previously on this
>
>>> guest (it might have silently been falling back to threaded IO?). I
>
>>> don't have access to s390x, but would it be possible to run qemu under
>
>>> gdb and see if aio_setup_linux_aio is being called at all (I think it
>
>>> might not be, but I'm not sure why), and if so, if it's for the context
>
>>> in question?
>
>>>
>
>>> If it's not being called first, could you see what callpath is calling
>
>>> aio_get_linux_aio when this assertion trips?
>
>>>
>
>>> Thanks!
>
>>> -Nish
>
>>
>
>>
>
>> Hi Nishant,
>
>>
>
>> From the coredump of the guest this is the call trace that calls
>
>> aio_get_linux_aio:
>
>>
>
>>
>
>> Stack trace of thread 145158:
>
>> #0Â 0x000003ff94dbe274 raise (libc.so.6)
>
>> #1Â 0x000003ff94da39a8 abort (libc.so.6)
>
>> #2Â 0x000003ff94db62ce __assert_fail_base (libc.so.6)
>
>> #3Â 0x000003ff94db634c __assert_fail (libc.so.6)
>
>> #4Â 0x000002aa20db067a aio_get_linux_aio (qemu-system-s390x)
>
>> #5Â 0x000002aa20d229a8 raw_aio_plug (qemu-system-s390x)
>
>> #6Â 0x000002aa20d309ee bdrv_io_plug (qemu-system-s390x)
>
>> #7Â 0x000002aa20b5a8ea virtio_blk_handle_vq (qemu-system-s390x)
>
>> #8Â 0x000002aa20db2f6e aio_dispatch_handlers (qemu-system-s390x)
>
>> #9Â 0x000002aa20db3c34 aio_poll (qemu-system-s390x)
>
>> #10 0x000002aa20be32a2 iothread_run (qemu-system-s390x)
>
>> #11 0x000003ff94f879a8 start_thread (libpthread.so.0)
>
>> #12 0x000003ff94e797ee thread_start (libc.so.6)
>
>>
>
>>
>
>> Thanks for taking a look and responding.
>
>>
>
>> Thanks
>
>> Farhan
>
>>
>
>>
>
>>
>
>
>
> Trying to debug a little further, the block device in this case is a "host
>
> device". And looking at your commit carefully you use the
>
> bdrv_attach_aio_context callback to setup a Linux AioContext.
>
>
>
> For some reason the "host device" struct (BlockDriver bdrv_host_device in
>
> block/file-posix.c) does not have a bdrv_attach_aio_context defined.
>
> So a simple change of adding the callback to the struct solves the issue and
>
> the guest starts fine.
>
>
>
>
>
> diff --git a/block/file-posix.c b/block/file-posix.c
>
> index 28824aa..b8d59fb 100644
>
> --- a/block/file-posix.c
>
> +++ b/block/file-posix.c
>
> @@ -3135,6 +3135,7 @@ static BlockDriver bdrv_host_device = {
>
> .bdrv_refresh_limits = raw_refresh_limits,
>
> .bdrv_io_plug = raw_aio_plug,
>
> .bdrv_io_unplug = raw_aio_unplug,
>
> + .bdrv_attach_aio_context = raw_aio_attach_aio_context,
>
>
>
> .bdrv_co_truncate = raw_co_truncate,
>
> .bdrv_getlength = raw_getlength,
>
>
>
>
>
>
>
> I am not too familiar with block device code in QEMU, so not sure if
>
> this is the right fix or if there are some underlying problems.
>
>
Oh this is quite embarassing! I only added the bdrv_attach_aio_context
>
callback for the file-backed device. Your fix is definitely corect for
>
host device. Let me make sure there weren't any others missed and I will
>
send out a properly formatted patch. Thank you for the quick testing and
>
turnaround!
Farhan, can you respin your patch with proper sign-off and patch description?
Adding qemu-block.
Hi Christian,
On 19.07.2018 [08:55:20 +0200], Christian Borntraeger wrote:
>
>
>
On 07/18/2018 08:52 PM, Nishanth Aravamudan wrote:
>
> On 18.07.2018 [11:10:27 -0400], Farhan Ali wrote:
>
>>
>
>>
>
>> On 07/18/2018 09:42 AM, Farhan Ali wrote:
<snip>
>
>> I am not too familiar with block device code in QEMU, so not sure if
>
>> this is the right fix or if there are some underlying problems.
>
>
>
> Oh this is quite embarassing! I only added the bdrv_attach_aio_context
>
> callback for the file-backed device. Your fix is definitely corect for
>
> host device. Let me make sure there weren't any others missed and I will
>
> send out a properly formatted patch. Thank you for the quick testing and
>
> turnaround!
>
>
Farhan, can you respin your patch with proper sign-off and patch description?
>
Adding qemu-block.
I sent it yesterday, sorry I didn't cc everyone from this e-mail:
http://lists.nongnu.org/archive/html/qemu-block/2018-07/msg00516.html
Thanks,
Nish
|