qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] How to find backing file for qemu-nbd?


From: Eric Blake
Subject: Re: [Qemu-devel] How to find backing file for qemu-nbd?
Date: Tue, 7 Feb 2017 09:36:47 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 02/07/2017 08:25 AM, Nikolay Ivanets wrote:
> Is there any way to find source file supplied for qemu-nbd similar to loop
> device:
> 
> cat /sys/block/loop0/loop/backing_file

qemu-nbd is userspace, so there's no way it will be found in /sys/.  But
since it is userspace, is it not sufficient to just use 'ps' or
/proc/$n/cmdline to determine what command line qemu-nbd was started with?

-- 
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]