]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-nbd.c
vhost-user-test: small changes to init_hugepagefs
[mirror_qemu.git] / qemu-nbd.c
index 1f7b2a03f5d2b5ff43d4f9f9f94562ec2baf2d07..00c07fd27ea5a9f9f84fed29e988e839d58c0d76 100644 (file)
@@ -787,6 +787,8 @@ int main(int argc, char **argv)
             flags &= ~BDRV_O_RDWR;
             break;
         case 'P':
+            warn_report("The '-P' option is deprecated; use --image-opts with "
+                        "a raw device wrapper for subset exports instead");
             if (qemu_strtoi(optarg, NULL, 0, &partition) < 0 ||
                 partition < 1 || partition > 8) {
                 error_report("Invalid partition '%s'", optarg);