]> git.ipfire.org Git - thirdparty/qemu.git/commit
nfs: Remove processed options from QDict
authorKevin Wolf <kwolf@redhat.com>
Wed, 16 May 2018 16:08:16 +0000 (18:08 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 18 Jul 2018 16:10:19 +0000 (11:10 -0500)
commit58119514f5999a7e2d57f03acabbdff20a854d15
tree1fa2cc30e3accee240753c4f802e8ace8c222aab
parent008ffc7a2f96fd3b5f69a35b82351237c78a0070
nfs: Remove processed options from QDict

Commit c22a03454 QAPIfied option parsing in the NFS block driver, but
forgot to remove all the options we processed. Therefore, we get an
error in bdrv_open_inherit(), which thinks the remaining options are
invalid. Trying to open an NFS image will result in an error like this:

    Block protocol 'nfs' doesn't support the option 'server.host'

Remove all options from the QDict to make the NFS driver work again.

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 20180516160816.26259-1-kwolf@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
(cherry picked from commit c82be42cc803b36fd7aed5dceec68312c7056fd5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/nfs.c