[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] supermin appliances and host connectivity

On Fri, Jun 10, 2011 at 10:41 AM, Richard W.M. Jones <rjones redhat com> wrote:

> Yes, I don't have udev running. Adding udev to the package list for building
> the appliance seems not to be enough, as there's apparently nothing starting
> it. What's the proper way to start udev in this situation?

Have a look at how libguestfs does it:


The rest of the code in the appliance/ subdirectory is useful
to look at too.


I started udev with /sbin/start_udev, as in the init script, but that seems to have no effect ("ps aux | grep udev" gives me no output.) If I start the guest with

 qemu-kvm -kernel kernel -initrd initrd -hda root -device virtio-serial -serial stdio -chardev socket,path=/home/uckelman/projects/lightbox/supermin/foo,id=channel0 -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0

what should I expect the device connected to the pipe on the guest side to be called?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]