Skip to content

Unable to pass extra args with spaces #223

@mikedld

Description

@mikedld

In some cases, as with e.g. -smbios, it's useful to be able to pass values containing spaces. I didn't succeed in trying to achieve that though (with v3.3.0):

  • using single quotes leads to nemu errors (I suspect due to unsufficient SQL query escaping)
  • using double quotes or backslash escaping leads to qemu errors (due to invalid command line)

This appears to be because parsing of extra args is quite simplistic, using strtok_r() with " " (space) as separator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions