All of lore.kernel.org
 help / color / mirror / Atom feed
* Character device assignment
@ 2012-08-16 19:28 siddhesh phadke
  2012-09-06 15:01 ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: siddhesh phadke @ 2012-08-16 19:28 UTC (permalink / raw)
  To: kvm

I want to assign my own character device to guest. I tried going
through code and found -chardev option.-chardev defines several
backend options but I could not understand how they interact with
guest. I also tried to search online but I got information mostly
regarding pci device assignment. Could anyone please help me with
this? Is there any documentation regarding character device
assignment?

Thank You,

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

* Re: Character device assignment
  2012-08-16 19:28 Character device assignment siddhesh phadke
@ 2012-09-06 15:01 ` Avi Kivity
  2012-09-11 19:40   ` siddhesh phadke
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2012-09-06 15:01 UTC (permalink / raw)
  To: siddhesh phadke; +Cc: kvm

On 08/16/2012 10:28 PM, siddhesh phadke wrote:
> I want to assign my own character device to guest. I tried going
> through code and found -chardev option.-chardev defines several
> backend options but I could not understand how they interact with
> guest. I also tried to search online but I got information mostly
> regarding pci device assignment. Could anyone please help me with
> this? Is there any documentation regarding character device
> assignment?

There is no such thing as character device assignment, since it doesn't
correspond to a single device bus.  We support assigning usb and pci
devices.

What device are you trying to assign?

-- 
error compiling committee.c: too many arguments to function

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

* Re: Character device assignment
  2012-09-06 15:01 ` Avi Kivity
@ 2012-09-11 19:40   ` siddhesh phadke
  0 siblings, 0 replies; 3+ messages in thread
From: siddhesh phadke @ 2012-09-11 19:40 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

Sorry for the late reply.I was trying to export a file as a device in
guest vm which can be shared on second guest vm. So i was thinking of
exporting as character device and so I was trying to find out how this
can be done . But later I found about ivshmem which allows us to do
the same.

Thanks for reply.

On Thu, Sep 6, 2012 at 11:01 AM, Avi Kivity <avi@redhat.com> wrote:
> On 08/16/2012 10:28 PM, siddhesh phadke wrote:
>> I want to assign my own character device to guest. I tried going
>> through code and found -chardev option.-chardev defines several
>> backend options but I could not understand how they interact with
>> guest. I also tried to search online but I got information mostly
>> regarding pci device assignment. Could anyone please help me with
>> this? Is there any documentation regarding character device
>> assignment?
>
> There is no such thing as character device assignment, since it doesn't
> correspond to a single device bus.  We support assigning usb and pci
> devices.
>
> What device are you trying to assign?
>
> --
> error compiling committee.c: too many arguments to function

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

end of thread, other threads:[~2012-09-11 19:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 19:28 Character device assignment siddhesh phadke
2012-09-06 15:01 ` Avi Kivity
2012-09-11 19:40   ` siddhesh phadke

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.