[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does "-object" support structured options now?
From: |
Daniel P . Berrangé |
Subject: |
Re: Does "-object" support structured options now? |
Date: |
Wed, 6 Mar 2024 14:42:39 +0000 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Wed, Mar 06, 2024 at 02:36:08PM +0000, Daniel P. Berrangé wrote:
> On Wed, Mar 06, 2024 at 02:33:05PM +0000, Chun Feng Wu wrote:
> > Thanks Daniel for your response!
> >
> > I tried it with the following cmd
> >
> > qemu-system-x86_64 [other options...] \
> > -object
> > '{"qom-type":"throttle-group","id":"limits0","limits":{"iops-total":200}}'
> >
> > And I got error:
> > qemu-system-x86_64: -object
> > {"qom-type":"throttle-group","id":"limits0","limits":{"iops-total":200}}:
> > Parameter 'id' is missing
> >
> > Do you know why such error happens?
>
> You have made a mistake somewhere in invoking it ?
Or perhaps you are using a much older QEMU release which lacks JSON
support ? You need QEMU >= 6.0.0
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|