Re: [Qemu-devel] Device initialisation problem: partially solved.

2009-11-13 Thread Ian Molton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Further investigation seems to have highlighted the problem: My code is correctly decoding the OPT_SIZE parameter into the 'value.uint' field in a QemuOpt I've also got the devices properties set up, so that the device may receive its data. Eg. in

[Qemu-devel] Device initialisation problem:

2009-11-13 Thread Ian Molton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use the qption parser to parse my device option string, which is formatted like this: - -vrng dev=/dev/foo,rate=10K and I mostly got things to work by using this, in vl.c: static int virtio_rng_parse(const char *arg) { Qem