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: Nikolay Ivanets
Subject: Re: [Qemu-devel] How to find backing file for qemu-nbd?
Date: Tue, 7 Feb 2017 23:14:46 +0200

Yes, it is what i'm doing now: ps -C qemu-nbd -o cmd='.

Thanks!

--
    Nikolay Ivanets
    Mobile: +380979184774
    Skype: n_ivanets

2017-02-07 17:36 GMT+02:00 Eric Blake <address@hidden>:

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


reply via email to

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