All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
@ 2013-03-01 10:59 ` M. Mohan Kumar
  2013-03-01 16:07 ` Tim Comer
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: M. Mohan Kumar @ 2013-03-01 10:59 UTC (permalink / raw)
  To: qemu-devel

-fsdev can take local, handle and proxy. Could you please use try with
one of them?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

Status in QEMU:
  New
Status in “qemu-kvm” package in Gentoo Linux:
  New

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
  2013-03-01 10:59 ` [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type M. Mohan Kumar
@ 2013-03-01 16:07 ` Tim Comer
  2013-03-01 17:38   ` Markus Armbruster
  2013-03-01 16:27 ` Daniel Berrange
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 8+ messages in thread
From: Tim Comer @ 2013-03-01 16:07 UTC (permalink / raw)
  To: qemu-devel

Same result:

    -fsdev local,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=immediate
    -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

    qemu-kvm: -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files:
Parameter 'driver' expects device type

Same result with a "shortcut" argument:
    qemu-kvm: -virtfs local,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=immediate,mount_tag=files: Parameter 'driver' expects device type

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

Status in QEMU:
  New
Status in “qemu-kvm” package in Gentoo Linux:
  New

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
  2013-03-01 10:59 ` [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type M. Mohan Kumar
  2013-03-01 16:07 ` Tim Comer
@ 2013-03-01 16:27 ` Daniel Berrange
  2013-03-01 18:08 ` Tim Comer
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Daniel Berrange @ 2013-03-01 16:27 UTC (permalink / raw)
  To: qemu-devel

I wonder if the Gentoo build has got virtio-9p enabled at all. This kind
of error message is the sort of thing QEMU often prints for a feature
like this is disabled at build time

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

Status in QEMU:
  New
Status in “qemu-kvm” package in Gentoo Linux:
  New

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
  2013-03-01 16:07 ` Tim Comer
@ 2013-03-01 17:38   ` Markus Armbruster
  0 siblings, 0 replies; 8+ messages in thread
From: Markus Armbruster @ 2013-03-01 17:38 UTC (permalink / raw)
  To: Bug 1130769; +Cc: qemu-devel

Tim Comer <comer@safetymail.info> writes:

> Same result:
>
>     -fsdev
> local,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=immediate
>     -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files
>
>     qemu-kvm: -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files:
> Parameter 'driver' expects device type

Please try

$ upstream-qemu -device help 2>&1 | grep virtio-9p

and report back.

[...]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
                   ` (2 preceding siblings ...)
  2013-03-01 16:27 ` Daniel Berrange
@ 2013-03-01 18:08 ` Tim Comer
  2013-03-01 18:51 ` Tim Comer
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Tim Comer @ 2013-03-01 18:08 UTC (permalink / raw)
  To: qemu-devel

Is there any way to verify? I see
"/lib64/modules/3.7.5-hardened/kernel/net/9p/9pnet_virtio.ko" - is that
it?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

Status in QEMU:
  New
Status in “qemu-kvm” package in Gentoo Linux:
  New

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
                   ` (3 preceding siblings ...)
  2013-03-01 18:08 ` Tim Comer
@ 2013-03-01 18:51 ` Tim Comer
  2013-03-01 19:39 ` Tim Comer
  2013-03-02  2:55 ` [Qemu-devel] [Bug 1130769] Re: [RESOLVED] " Doug Goldstein
  6 siblings, 0 replies; 8+ messages in thread
From: Tim Comer @ 2013-03-01 18:51 UTC (permalink / raw)
  To: qemu-devel

There's a USE flag for Gentoo's package "app-emulation/qemu":
virtfs 	Enable VirtFS support. See http://wiki.qemu.org/Documentation/9psetup

I'll try enabling it explicitly and see if it helps.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

Status in QEMU:
  New
Status in “qemu-kvm” package in Gentoo Linux:
  New

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
                   ` (4 preceding siblings ...)
  2013-03-01 18:51 ` Tim Comer
@ 2013-03-01 19:39 ` Tim Comer
  2013-03-02  2:55 ` [Qemu-devel] [Bug 1130769] Re: [RESOLVED] " Doug Goldstein
  6 siblings, 0 replies; 8+ messages in thread
From: Tim Comer @ 2013-03-01 19:39 UTC (permalink / raw)
  To: qemu-devel

It did!
So this issue is resolved.
Thanks!

** Summary changed:

- VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
+ [RESOLVED] VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type

** Changed in: qemu
       Status: New => Invalid

** No longer affects: qemu-kvm (Gentoo Linux)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  [RESOLVED] VirtFS (virtio-9p-pci) error: Parameter 'driver' expects
  device type

Status in QEMU:
  Invalid

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Qemu-devel] [Bug 1130769] Re: [RESOLVED] VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
       [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
                   ` (5 preceding siblings ...)
  2013-03-01 19:39 ` Tim Comer
@ 2013-03-02  2:55 ` Doug Goldstein
  6 siblings, 0 replies; 8+ messages in thread
From: Doug Goldstein @ 2013-03-02  2:55 UTC (permalink / raw)
  To: qemu-devel

I've updated the Gentoo docs for the flag to read:

Enable VirtFS via fsdev (host) and virtio-9p-pci (guest). See
http://wiki.qemu.org/Documentation/9psetup

Hopefully that's a bit more clear that you need to enable that for this
support.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1130769

Title:
  [RESOLVED] VirtFS (virtio-9p-pci) error: Parameter 'driver' expects
  device type

Status in QEMU:
  Invalid

Bug description:
  Getting error "Parameter 'driver' expects device type" when trying to
  share a file system with a guest.

  Command line:
  qemu-kvm
      -m 4096 -cpu host -smp 4,sockets=1
      -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net tap,ifname=tap0,script=no,downscript=no
      -rtc base=localtime
      -drive file=/vm/VM.img,cache=none,if=virtio
      -curses
      -boot menu=off
      -fsdev fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
      -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

  OS (host/guest): Gentoo
  Kernel (host/guest): 3.7.5-hardened
  CPU: AMD Opteron(TM) Processor 6272 (host: 16 cores, guest: 4)
  Arch (host/guest): x86_64
  Version: QEMU emulator version 1.2.2 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
  Package: app-emulation/qemu-1.2.2-r3

  -no-kvm-irqchip  did not have effect
  -no-kvm-pit       did not have effect other than "Warning: KVM PIT can no longer be disabled separately."
  -no-kvm            did not work with "Could not allocate dynamic translator buffer"

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1130769/+subscriptions

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-03-02  3:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20130220164544.29507.62803.malonedeb@chaenomeles.canonical.com>
2013-03-01 10:59 ` [Qemu-devel] [Bug 1130769] Re: VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type M. Mohan Kumar
2013-03-01 16:07 ` Tim Comer
2013-03-01 17:38   ` Markus Armbruster
2013-03-01 16:27 ` Daniel Berrange
2013-03-01 18:08 ` Tim Comer
2013-03-01 18:51 ` Tim Comer
2013-03-01 19:39 ` Tim Comer
2013-03-02  2:55 ` [Qemu-devel] [Bug 1130769] Re: [RESOLVED] " Doug Goldstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.