]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-nbd.c
linux-user: Add emulation for MADV_WIPEONFORK and MADV_KEEPONFORK in madvise()
[mirror_qemu.git] / qemu-nbd.c
index 0cd5aa6f02bc2c0b4d8deb6257cbb6a7469daf8b..6ff45308a9ce26e00dab861b6861b57d5e4e1635 100644 (file)
@@ -1107,9 +1107,7 @@ int main(int argc, char **argv)
         .has_writable       = true,
         .writable           = !readonly,
         .u.nbd = {
-            .has_name             = true,
             .name                 = g_strdup(export_name),
-            .has_description      = !!export_description,
             .description          = g_strdup(export_description),
             .has_bitmaps          = !!bitmaps,
             .bitmaps              = bitmaps,