Re: [libvirt] [PATCH] qemu: fix crash on getting block stats for empty cdrom

2017-04-13 Thread Nikolay Shirokovskiy
Ok, forget about it) because c3de3873 "qemu: Don't update physical storage size of empty drives" is already in upstream. On 30.01.2017 10:14, Nikolay Shirokovskiy wrote: > Looks like it was introduced in c5f61513. Before this commit handling empty > cdrom > was correct becase physical sizes of

[libvirt] [PATCH] qemu: fix crash on getting block stats for empty cdrom

2017-01-29 Thread Nikolay Shirokovskiy
Looks like it was introduced in c5f61513. Before this commit handling empty cdrom was correct becase physical sizes of non block disks are not updated. Now when all types are supported we need to check for empty drives. [1] crash backtrace 0 __strrchr_sse42 () at