Skip to contentSkip to conversation

block_set_io_throttle complaints Need exactly one of 'device' and 'id'

Qemu-devel dE 3 participants 4 messages Mar 30, 2017 – Dec 15, 2017

lore
Share & tools
lore

dE

author
#0 lore raw

Public bug reported:

All of sudden, after a qemu update, block_set_io_throttle does not work anymore.

Full command to QEMU monitor --

(qemu) block_set_io_throttle db 0 0 0 0 0 0
Need exactly one of 'device' and 'id'

The help text still point to the same old syntax, which no longer works.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 24 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1677492

Title:
  block_set_io_throttle complaints Need exactly one of 'device' and 'id'

Status in QEMU:
  New

Bug description:
  All of sudden, after a qemu update, block_set_io_throttle does not
  work anymore.

  Full command to QEMU monitor --

  (qemu) block_set_io_throttle db 0 0 0 0 0 0
  Need exactly one of 'device' and 'id'

  The help text still point to the same old syntax, which no longer
  works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1677492/+subscriptions
Reviewed-by Stefan Hajnoczi
#1 lore raw
Quoted 11 lines · dE

Public bug reported:

All of sudden, after a qemu update, block_set_io_throttle does not work anymore.

Full command to QEMU monitor --

(qemu) block_set_io_throttle db 0 0 0 0 0 0
Need exactly one of 'device' and 'id'

The help text still point to the same old syntax, which no longer works.

Broken in 2.8, fixed here (will be in 2.9):

commit 3f35c3b166c18043596768448e5d91b5d52f8353

Author: Eric Blake <[email protected]>
Date:   Fri Jan 20 17:03:59 2017 -0600

hmp: fix block_set_io_throttle

Commit 7a9877a made the 'device' parameter to BlockIOThrottle optional, favoring 'id' instead. But it forgot to update the HMP usage to set has_device, which makes all attempts to change throttling via HMP fail with "Need exactly one of 'device' and 'id'"

Message-Id: <[email protected]>

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
In reply to dE

** Changed in: qemu
Status: New => Fix Committed

Signature · 24 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1677492

Title:
  block_set_io_throttle complaints Need exactly one of 'device' and 'id'

Status in QEMU:
  Fix Committed

Bug description:
  All of sudden, after a qemu update, block_set_io_throttle does not
  work anymore.

  Full command to QEMU monitor --

  (qemu) block_set_io_throttle db 0 0 0 0 0 0
  Need exactly one of 'device' and 'id'

  The help text still point to the same old syntax, which no longer
  works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1677492/+subscriptions
#3 lore raw
In reply to dE

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 24 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1677492

Title:
  block_set_io_throttle complaints Need exactly one of 'device' and 'id'

Status in QEMU:
  Fix Released

Bug description:
  All of sudden, after a qemu update, block_set_io_throttle does not
  work anymore.

  Full command to QEMU monitor --

  (qemu) block_set_io_throttle db 0 0 0 0 0 0
  Need exactly one of 'device' and 'id'

  The help text still point to the same old syntax, which no longer
  works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1677492/+subscriptions