qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QMP netdev_add multiple dnssearch values


From: Alex Kirillov
Subject: Re: QMP netdev_add multiple dnssearch values
Date: Tue, 29 Oct 2019 13:20:39 +0300

> What exactly goes wrong? Does the QMP command fail? Does it succeed
> but the network backend incorrectly?

QMP command succesfully creates Slirp backend, but ignore whole arguments:
- `dnssearch`
- `hostfwd`
- `guestfwd`

As example, `dnssearch` field of `NetdevUserOptions` goes straight to the 
function `slirp_dnssearch` (net/slirp.c), where it converts to `char **`. But 
at this moment, this parameter is simply NULL, when I pass something differrent 
from simple string.

This is very strange, because type of this parameters is `StringList` and must 
require something like [{"str": "a"}, {"str": "b"}].


-- 
Alex Kirillov
Yandex.Cloud



reply via email to

[Prev in Thread] Current Thread [Next in Thread]