Skip to content
Snippets Groups Projects
  • Paolo Bonzini's avatar
    e960a7ee
    remove -writeconfig · e960a7ee
    Paolo Bonzini authored
    
    Like -set and -readconfig, it would not really be too hard to
    extend -writeconfig to parsing mechanisms other than QemuOpts.
    However, the uses of -writeconfig are substantially more
    limited, as it is generally easier to write the configuration
    by hand in the first place.  In addition, -writeconfig does
    not even try to detect cases where it prints incorrect
    syntax (for example if values have a quote in them, since
    qemu_config_parse does not support any kind of escaping.
    Just remove it.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Message-Id: <20220414145721.326866-1-pbonzini@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    e960a7ee
    History
    remove -writeconfig
    Paolo Bonzini authored
    
    Like -set and -readconfig, it would not really be too hard to
    extend -writeconfig to parsing mechanisms other than QemuOpts.
    However, the uses of -writeconfig are substantially more
    limited, as it is generally easier to write the configuration
    by hand in the first place.  In addition, -writeconfig does
    not even try to detect cases where it prints incorrect
    syntax (for example if values have a quote in them, since
    qemu_config_parse does not support any kind of escaping.
    Just remove it.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Message-Id: <20220414145721.326866-1-pbonzini@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>