From: Richard Henderson <richard.henderson@linaro.org>
To: Konstantin Kostiuk <kkostiuk@redhat.com>,
qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [PULL 2/3] qga-win32: Add support for NVME but type
Date: Mon, 23 May 2022 13:55:02 -0700 [thread overview]
Message-ID: <541f46cf-fc45-f7bb-e121-2aad216e11d5@linaro.org> (raw)
In-Reply-To: <20220523194111.827805-3-kkostiuk@redhat.com>
On 5/23/22 12:41, Konstantin Kostiuk wrote:
> Bus type spaces (Indicates a storage spaces bus) is not
> supported, so return it as unknown.
>
> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
> Message-Id: <20220520201401.706630-1-kkostiuk@redhat.com>
> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
> ---
> qga/commands-win32.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/qga/commands-win32.c b/qga/commands-win32.c
> index dcdeb76a68..36f94c0f9c 100644
> --- a/qga/commands-win32.c
> +++ b/qga/commands-win32.c
> @@ -490,6 +490,11 @@ static GuestDiskBusType win2qemu[] = {
> #if (_WIN32_WINNT >= 0x0601)
> [BusTypeVirtual] = GUEST_DISK_BUS_TYPE_VIRTUAL,
> [BusTypeFileBackedVirtual] = GUEST_DISK_BUS_TYPE_FILE_BACKED_VIRTUAL,
> + /*
> + * BusTypeSpaces currently is not suported
> + */
> + [BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN,
> + [BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME,
> #endif
> };
>
Build fails:
../qga/commands-win32.c:496:6: error: 'BusTypeSpaces' undeclared here (not in a function);
did you mean 'BusTypeSas'?
496 | [BusTypeSpaces] = GUEST_DISK_BUS_TYPE_UNKNOWN,
| ^~~~~~~~~~~~~
| BusTypeSas
../qga/commands-win32.c:496:6: error: array index in initializer not of integer type
../qga/commands-win32.c:496:6: note: (near initialization for 'win2qemu')
../qga/commands-win32.c:497:6: error: 'BusTypeNvme' undeclared here (not in a function);
did you mean 'BusTypeMmc'?
497 | [BusTypeNvme] = GUEST_DISK_BUS_TYPE_NVME,
| ^~~~~~~~~~~
| BusTypeMmc
../qga/commands-win32.c:497:6: error: array index in initializer not of integer type
../qga/commands-win32.c:497:6: note: (near initialization for 'win2qemu')
r~
next prev parent reply other threads:[~2022-05-23 21:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-23 19:41 [PULL 0/3] qemu-ga patches Konstantin Kostiuk
2022-05-23 19:41 ` [PULL 1/3] qga: add guest-get-diskstats command for Linux guests Konstantin Kostiuk
2022-05-23 19:41 ` [PULL 2/3] qga-win32: Add support for NVME but type Konstantin Kostiuk
2022-05-23 20:55 ` Richard Henderson [this message]
2022-05-24 9:26 ` Konstantin Kostiuk
2022-05-24 10:01 ` Konstantin Kostiuk
2022-05-24 10:14 ` Marc-André Lureau
2022-05-24 10:24 ` Thomas Huth
2022-05-24 13:00 ` Konstantin Kostiuk
2022-05-24 13:13 ` Thomas Huth
2022-05-24 13:17 ` Konstantin Kostiuk
2022-05-24 13:28 ` Thomas Huth
2022-05-24 13:33 ` Thomas Huth
2022-05-24 13:38 ` Daniel P. Berrangé
2022-06-03 12:56 ` Debian MinGW cross compilation (was: Re: [PULL 2/3] qga-win32: Add support for NVME but type) Thomas Huth
2022-06-03 13:09 ` Stefan Weil via
2022-06-03 13:15 ` Thomas Huth
2022-05-24 10:16 ` [PULL 2/3] qga-win32: Add support for NVME but type Peter Maydell
2022-05-23 19:41 ` [PULL 3/3] trivial: qga: Log version on start Konstantin Kostiuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=541f46cf-fc45-f7bb-e121-2aad216e11d5@linaro.org \
--to=richard.henderson@linaro.org \
--cc=kkostiuk@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).