search for: ioutil

Displaying 4 results from an estimated 4 matches for "ioutil".

Did you mean: outil
2020 Jul 09
2
Re: [PATCH] RFC: rhv-upload-plugin: Use imageio client
...ut the Fedora case, but > if we're not going to package this up in Fedora it doesn't matter. We never tried to build on other arches, but it should work. We have few lines of C but they should be portable. https://github.com/oVirt/ovirt-imageio/blob/master/daemon/ovirt_imageio/_internal/ioutil.c I added aarch64 builds in copr, lets see how it goes: https://copr.fedorainfracloud.org/coprs/nsoffer/ovirt-imageio-preview/build/1541540/ > > > > - params['rhv_direct'] is ignored, we always try direct transfer now. > > > > > > We should drop it from the O...
2020 Jul 09
0
Re: [PATCH] RFC: rhv-upload-plugin: Use imageio client
...> > if we're not going to package this up in Fedora it doesn't matter. > > We never tried to build on other arches, but it should work. We have > few lines of C but they should be portable. > https://github.com/oVirt/ovirt-imageio/blob/master/daemon/ovirt_imageio/_internal/ioutil.c > > I added aarch64 builds in copr, lets see how it goes: > https://copr.fedorainfracloud.org/coprs/nsoffer/ovirt-imageio-preview/build/1541540/ > > > > > > - params['rhv_direct'] is ignored, we always try direct transfer now. > > > > > > >...
2020 Apr 24
1
[PATCH nbdkit] golang: Pass Plugin and Connection by reference not value.
...AUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +package main + +import ( + "C" + "io/ioutil" + "libguestfs.org/nbdkit" + "os" + "strconv" + "unsafe" +) + +var pluginName = "disk" + +type DiskPlugin struct { + nbdkit.Plugin +} + +type DiskConnection struct { + nbdkit.Connection + fd *os.File +} + +var size uint64 +var size_set = false...
2020 Jul 09
2
Re: [PATCH] RFC: rhv-upload-plugin: Use imageio client
On Thu, Jul 9, 2020 at 10:53 AM Richard W.M. Jones <rjones@redhat.com> wrote: > > On Thu, Jul 09, 2020 at 01:51:44AM +0300, Nir Soffer wrote: > > We can use now ImageioClient to communicate with ovirt-imageio server > > on oVirt host. > > > > Using the client greatly simplifies the plugin, and enables new features > > like transparent proxy support. The