qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Mount image file feature


From: Eric Blake
Subject: Re: [Qemu-devel] Mount image file feature
Date: Sat, 29 Aug 2015 17:12:01 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 08/29/2015 02:18 PM, Programmingkid wrote:

>>
>> (1) 'change' always uses 'raw' as the format, but the selector
>> apparently offers you the full range of image formats
>> (supportedImageFileTypes).
> 
> So far it has worked out just fine. Doesn't QEMU detect the format itself?

You DON'T want to rely on qemu detecting the format itself.  That is a
CVE waiting to happen.  If you hand a raw disk to the guest, and the
guest writes particular metadata to resemble some other format, and then
qemu probes that other format, you have allowed the guest to take over
the host.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]