Revision 9ce56db6 hw/virtio-9p.c

b/hw/virtio-9p.c
2253 2253
        exit(1);
2254 2254
    }
2255 2255

  
2256
    if (!strcmp(fse->security_model, "passthrough") &&
2257
                !strcmp(fse->security_model, "mapped")) {
2258
        /* user haven't specified a correct security option */
2259
        fprintf(stderr, "one of the following must be specified as the"
2260
                "security option:\n\t security_model=passthrough \n\t "
2261
                "security_model=mapped\n");
2262
        return NULL;
2263
    }
2264

  
2256 2265
    if (lstat(fse->path, &stat)) {
2257 2266
        fprintf(stderr, "share path %s does not exist\n", fse->path);
2258 2267
        exit(1);

Also available in: Unified diff