History log of /openbmc/qemu/qemu-nbd.c (Results 376 – 400 of 404)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: qemu-kvm-0.13.0-rc1, v0.13.0-rc1
# e301b13d 31-Aug-2010 Jes Sorensen <Jes.Sorensen@redhat.com>

Respect return value from nbd_client()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


# 0a4eb864 31-Aug-2010 Jes Sorensen <Jes.Sorensen@redhat.com>

Remove unused argument for nbd_client()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


# 1d45f8b5 25-Aug-2010 Laurent Vivier <laurent@vivier.eu>

nbd: Introduce NBD named exports.

This patch allows to connect Qemu using NBD protocol to an nbd-server
using named exports.

For instance, if on the host "isoserver", in /etc/nbd-server/config, you

nbd: Introduce NBD named exports.

This patch allows to connect Qemu using NBD protocol to an nbd-server
using named exports.

For instance, if on the host "isoserver", in /etc/nbd-server/config, you have:

[generic]
[debian-500-ppc-netinst]
exportname = /ISO/debian-500-powerpc-netinst.iso
[Fedora-10-ppc-netinst]
exportname = /ISO/Fedora-10-ppc-netinst.iso

You can connect to it, using:

qemu -cdrom nbd:isoserver:exportname=debian-500-ppc-netinst
qemu -cdrom nbd:isoserver:exportname=Fedora-10-ppc-netinst

NOTE: you need at least nbd-server 2.9.18

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


Revision tags: RHEL-6.0, qemu-kvm-0.12.1.2-2.113.el6, qemu-kvm-0.12.1.2-2.112.el6, qemu-kvm-0.12.1.2-2.111.el6, qemu-kvm-0.12.1.2-2.110.el6, qemu-kvm-0.12.1.2-2.109.el6, qemu-kvm-0.12.1.2-2.108.el6, qemu-kvm-0.12.1.2-2.107.el6, qemu-kvm-0.12.1.2-2.106.el6, qemu-kvm-0.12.1.2-2.105.el6, qemu-kvm-0.12.1.2-2.104.el6, qemu-kvm-0.12.1.2-2.103.el6, qemu-kvm-0.12.1.2-2.102.el6, qemu-kvm-0.12.1.2-2.101.el6, v0.13.0-rc0, qemu-kvm-0.12.5, qemu-kvm-0.12.1.2-2.100.el6, qemu-kvm-0.12.1.2-2.99.el6, qemu-kvm-0.12.1.2-2.98.el6, v0.12.5, qemu-kvm-0.12.1.2-2.97.el6, qemu-kvm-0.12.1.2-2.96.el6, qemu-kvm-0.12.1.2-2.95.el6, qemu-kvm-0.12.1.2-2.94.el6, qemu-kvm-0.12.1.2-2.93.el6, qemu-kvm-0.12.1.2-2.92.el6, qemu-kvm-0.12.1.2-2.91.el6, qemu-kvm-0.12.1.2-2.90.el6, qemu-kvm-0.12.1.2-2.89.el6, qemu-kvm-0.12.1.2-2.88.el6, qemu-kvm-0.12.1.2-2.87.el6, qemu-kvm-0.12.1.2-2.86.el6, qemu-kvm-0.12.1.2-2.85.el6, qemu-kvm-0.12.1.2-2.84.el6, qemu-kvm-0.12.1.2-2.83.el6, qemu-kvm-0.12.1.2-2.82.el6, qemu-kvm-0.12.1.2-2.81.el6, qemu-kvm-0.12.1.2-2.80.el6, qemu-kvm-0.12.1.2-2.79.el6, qemu-kvm-0.12.1.2-2.78.el6, qemu-kvm-0.12.1.2-2.77.el6, qemu-kvm-0.12.1.2-2.76.el6, qemu-kvm-0.12.1.2-2.75.el6, qemu-kvm-0.12.1.2-2.74.el6, qemu-kvm-0.12.1.2-2.73.el6, qemu-kvm-0.12.1.2-2.72.el6, qemu-kvm-0.12.1.2-2.71.el6, qemu-kvm-0.12.1.2-2.70.el6, qemu-kvm-0.12.1.2-2.69.el6, qemu-kvm-0.12.1.2-2.68.el6, qemu-kvm-0.12.1.2-2.67.el6, qemu-kvm-0.12.1.2-2.66.el6, qemu-kvm-0.12.1.2-2.65.el6, qemu-kvm-0.12.1.2-2.64.el6, qemu-kvm-0.12.1.2-2.63.el6, qemu-kvm-0.12.1.2-2.62.el6, qemu-kvm-0.12.1.2-2.61.el6, qemu-kvm-0.12.1.2-2.60.el6, qemu-kvm-0.12.1.2-2.59.el6, qemu-kvm-0.12.1.2-2.58.el6, qemu-kvm-0.12.1.2-2.57.el6, qemu-kvm-0.12.1.2-2.56.el6, qemu-kvm-0.12.1.2-2.55.el6, qemu-kvm-0.12.1.2-2.54.el6
# 12941418 17-May-2010 Anthony Liguori <aliguori@us.ibm.com>

Merge remote branch 'kwolf/for-anthony' into staging


Revision tags: qemu-kvm-0.12.1.2-2.53.el6, qemu-kvm-0.12.1.2-2.52.el6, qemu-kvm-0.12.4, qemu-kvm-0.12.1.2-2.51.el6, qemu-kvm-0.12.1.2-2.50.el6, qemu-kvm-0.12.1.2-2.49.el6, v0.12.4
# cb7cf0e3 02-May-2010 Ryota Ozaki <ozaki.ryota@gmail.com>

qemu-nbd: Improve error reporting

- use err(3) instead of errx(3) if errno is available
to report why failed
- let fail prior to daemon(3) if opening a nbd file
is likely to fail after daemonizi

qemu-nbd: Improve error reporting

- use err(3) instead of errx(3) if errno is available
to report why failed
- let fail prior to daemon(3) if opening a nbd file
is likely to fail after daemonizing to avoid silent
failure exit
- add missing 'ret = 1' when unix_socket_outgoing failed

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.48.el6, qemu-kvm-0.12.1.2-2.47.el6, qemu-kvm-0.12.1.2-2.46.el6, qemu-kvm-0.12.1.2-2.45.el6, qemu-kvm-0.12.1.2-2.44.el6, qemu-kvm-0.12.1.2-2.43.el6, qemu-kvm-0.12.1.2-2.42.el6, qemu-kvm-0.12.1.2-2.40.el6, qemu-kvm-0.12.1.2-2.41.el6, qemu-kvm-0.12.1.2-2.39.el6, qemu-kvm-0.12.1.2-2.38.el6, qemu-kvm-0.12.1.2-2.37.el6, qemu-kvm-0.12.1.2-2.36.el6, qemu-kvm-0.12.1.2-2.35.el6
# d6e9098e 31-Mar-2010 Kevin Wolf <kwolf@redhat.com>

Replace calls of old bdrv_open

What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
callers of the old function are converted to the new one. In some places they
even know the

Replace calls of old bdrv_open

What is known today as bdrv_open2 becomes the new bdrv_open. All remaining
callers of the old function are converted to the new one. In some places they
even know the right format, so they should have used bdrv_open2 from the
beginning.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.34.el6, qemu-kvm-0.12.1.2-2.33.el6, qemu-kvm-0.12.1.2-2.32.el6, qemu-kvm-0.12.1.2-2.31.el6, qemu-kvm-0.12.1.2-2.30.el6, qemu-kvm-0.12.1.2-2.29.el6, qemu-kvm-0.12.1.2-2.28.el6, qemu-kvm-0.12.1.2-2.27.el6
# b6353bea 20-Mar-2010 Ryota Ozaki <ozaki.ryota@gmail.com>

qemu-nbd: Fix invalid usage of the first argument of errx

errx takes the exit status of a process as the first
argument. Passing errno to it is wrong. Instead the
patch lets errx take EXIT_FAILURE.

qemu-nbd: Fix invalid usage of the first argument of errx

errx takes the exit status of a process as the first
argument. Passing errno to it is wrong. Instead the
patch lets errx take EXIT_FAILURE.

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

show more ...


# a16c174c 20-Mar-2010 Ryota Ozaki <ozaki.ryota@gmail.com>

qemu-nbd: Fix return value handling of bdrv_open

bdrv_open may return -errno so we have to check
if the return value is '< 0', not '== -1'.

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed

qemu-nbd: Fix return value handling of bdrv_open

bdrv_open may return -errno so we have to check
if the return value is '< 0', not '== -1'.

Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.26.el6, qemu-kvm-0.12.1.2-2.25.el6
# 07108b29 14-Mar-2010 Naphtali Sprei <nsprei@redhat.com>

read-only: minor cleanup

Really use read-only flags for opening the file when asked for read-only

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.c

read-only: minor cleanup

Really use read-only flags for opening the file when asked for read-only

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.24.el6, qemu-kvm-0.12.3, v0.12.3, qemu-kvm-0.12.1.2-2.18.el6, qemu-kvm-0.12.1.2-2.17.el6, qemu-kvm-0.12.1.2-2.15.el6, qemu-kvm-0.12.1.2-2.16.el6, qemu-kvm-0.12.1.2-2.14.el6, qemu-kvm-0.12.1.2-2.13.el6
# f8a83245 24-Jan-2010 Herve Poussineau <hpoussin@reactos.org>

win32: pair qemu_memalign() with qemu_vfree()

Win32 suffers from a very big memory leak when dealing with SCSI devices.
Each read/write request allocates memory with qemu_memalign (ie
VirtualAlloc)

win32: pair qemu_memalign() with qemu_vfree()

Win32 suffers from a very big memory leak when dealing with SCSI devices.
Each read/write request allocates memory with qemu_memalign (ie
VirtualAlloc) but frees it with qemu_free (ie free).
Pair all qemu_memalign() calls with qemu_vfree() to prevent such leaks.

Signed-off-by: Herve Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.12.el6, qemu-kvm-0.12.1.2-2.11.el6, qemu-kvm-0.12.2
# f5edb014 17-Jan-2010 Naphtali Sprei <nsprei@redhat.com>

Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.

In

Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.

Instead of using the field 'readonly' of the BlockDriverState struct for passing the request,
pass the request in the flags parameter to the function.

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.10.el6, qemu-kvm-0.12.1.2-2.6.el6, qemu-kvm-0.12.1.2-2.7.el6, qemu-kvm-0.12.1.2-2.8.el6, qemu-kvm-0.12.1.2-2.9.el6, v0.12.2, qemu-kvm-0.12.1.2-2.1.el6, qemu-kvm-0.12.1.2-2.2.el6, qemu-kvm-0.12.1.2-2.3.el6, qemu-kvm-0.12.1.2
# 22ff51ee 23-Dec-2009 Blue Swirl <blauwirbel@gmail.com>

qemu-nbd: fix OpenBSD linker warning

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


# 2bff4b6f 23-Dec-2009 Blue Swirl <blauwirbel@gmail.com>

Compile qemu-nbd also on OpenBSD and Solaris

basename() needs #include <libgen.h>.

No prototype for daemon() is available on Solaris, but link
succeeds.

Signed-off-by: Blue Swirl <blauwirbel@gmail

Compile qemu-nbd also on OpenBSD and Solaris

basename() needs #include <libgen.h>.

No prototype for daemon() is available on Solaris, but link
succeeds.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

show more ...


Revision tags: qemu-kvm-0.12.1.1, qemu-kvm-0.12.1, v0.12.1, v0.12.0, qemu-kvm-0.12.0-rc2, v0.12.0-rc2, v0.12.0-rc1, v0.12.0-rc0, qemu-kvm-0.11.1, v0.11.1, qemu-kvm-0.11.0, v0.11.0, qemu-kvm-0.11.0-rc2, qemu-kvm-0.11.0-rc2-test1, v0.11.0-rc2, qemu-kvm-0.11.0-rc1, qemu-kvm-0.10.6
# 660f11be 31-Jul-2009 Blue Swirl <blauwirbel@gmail.com>

Fix Sparse warnings: "Using plain integer as NULL pointer"

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


Revision tags: v0.11.0-rc1, v0.10.6, v0.11.0-rc0
# 8167ee88 16-Jul-2009 Blue Swirl <blauwirbel@gmail.com>

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


Revision tags: kvm-88, kvm-88rc3, kvm-88rc1, kvm-88rc2, kvm-87, kvm-87rc7, kvm-87rc3, kvm-87rc4, kvm-87rc5, kvm-87rc6, kvm-87rc2, kvm-87rc1
# f5de141b 15-Jun-2009 Anthony Liguori <aliguori@us.ibm.com>

Fix warning in qemu-nbd.c

qemu-nbd.c:349: error: ignoring return value of 'daemon', declared with attribute warn_unused_result

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


Revision tags: qemu-kvm-0.10.5, qemu-kvm-0.10.5rc1, v0.10.5, kvm-86, kvm-86rc2, qemu-kvm-0.10.4, v0.10.4, qemu-kvm-0.10.3rc3, qemu-kvm-0.10.3rc2, qemu-kvm-0.10.3rc1, v0.10.3, kvm-85, kvm-85rc6, kvm-85rc5, kvm-85rc4, release_0_10_2, v0.10.2, kvm-85rc3, kvm-85rc2, kvm-85rc1, release_0_10_1, v0.10.1, release_0_10_0, v0.10.0, kvm-84, kvm-84rc3, kvm-84rc2, kvm-84rc1
# 1eec614b 05-Feb-2009 aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>

toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savann

toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6531 c046a42c-6fe2-441c-8c8c-71466251a162

show more ...


Revision tags: kvm-83, kvm-83rc1
# d6aa671f 08-Jan-2009 aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>

qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

qemu-nbd: fix options: -b (--bind) expects an argument (IFACE) (Uri Lublin)

Rebased for qemu tree.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6246 c046a42c-6fe2-441c-8c8c-71466251a162

show more ...


# fad6cb1a 04-Jan-2009 aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <stu

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6162 c046a42c-6fe2-441c-8c8c-71466251a162

show more ...


Revision tags: kvm-82, kvm-82rc1, kvm-81, kvm-81rc1, kvm-80, kvm-80rc3, kvm-80rc1, kvm-79, kvm-79rc1, kvm-78, kvm-78rc2
# b1d8e52e 26-Oct-2008 blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>

Fix undeclared symbol warnings from sparse

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162


Revision tags: kvm-78rc1
# 9f7965c7 14-Oct-2008 aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>

Expand cache= option and use write-through caching by default

This patch changes the cache= option to accept none, writeback, or writethough
to control the host page cache behavior. By default, wri

Expand cache= option and use write-through caching by default

This patch changes the cache= option to accept none, writeback, or writethough
to control the host page cache behavior. By default, writethrough caching is
now used which internally is implemented by using O_DSYNC to open the disk
images. When using -snapshot, writeback is used by default since data integrity
it not at all an issue.

cache=none has the same behavior as cache=off previously. The later syntax is
still supported by now deprecated. I also cleaned up the O_DIRECT
implementation to avoid many of the #ifdefs.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5485 c046a42c-6fe2-441c-8c8c-71466251a162

show more ...


Revision tags: kvm-77, kvm-77rc1, kvm-76, kvm-76rc1
# 27982661 10-Sep-2008 aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>

qemu-nbd: remove useless parameter from nbd_negotiate() (Laurent Vivier)

This patch removes "BlockDriverState *bs" from nbd_negotiate() because
it is not used.

Signed-off-by: Laurent Vivier <Lauren

qemu-nbd: remove useless parameter from nbd_negotiate() (Laurent Vivier)

This patch removes "BlockDriverState *bs" from nbd_negotiate() because
it is not used.

Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.fr>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5186 c046a42c-6fe2-441c-8c8c-71466251a162

show more ...


Revision tags: kvm-75, kvm-75rc1, kvm-74, kvm-74rc1, kvm-73, kvm-73rc1, kvm-72, kvm-72rc1, kvm-72rc2, kvm-72rc3
# 315bc7aa 18-Jul-2008 ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>

Allow qemu-nbd --version to show the application name dynamically, by
Carlo Marcelo Arenas Belon.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4893 c046a42c-6fe2-441c-8c8c-71466251a162


Revision tags: kvm-71, kvm-71rc3, kvm-71rc2
# 75818250 03-Jul-2008 ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>

Allow QEMU to connect directly to an NBD server, by Laurent Vivier.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4838 c046a42c-6fe2-441c-8c8c-71466251a162


# 3b05a8e9 03-Jul-2008 ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>

Allow to share a disk image via nbd, by Laurent Vivier.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4837 c046a42c-6fe2-441c-8c8c-71466251a162


1...<<11121314151617