From: Kamala Narasimhan <kamala.narasimhan@gmail.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 3/5] xl disk configuration parsing changes
Date: Tue, 08 Feb 2011 14:08:52 -0500 [thread overview]
Message-ID: <4D5194C4.3060709@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1102081552330.7277@kaball-desktop>
>> -#define DSTATE_INITIAL 0
>> -#define DSTATE_TAP 1
>> -#define DSTATE_PHYSPATH 2
>> -#define DSTATE_VIRTPATH 3
>> -#define DSTATE_VIRTTYPE 4
>> -#define DSTATE_RW 5
>> -#define DSTATE_TERMINAL 6
>> +#define DSTATE_INITIAL 0
>> +#define DSTATE_ATTRIB_PARSED 1
>> +#define DSTATE_VDEV_PARSED 2
>
> Why did you need to remove 4 states?
I didn't have a need for it.
> Also it would be nice to split this patch in two: a patch that
> introduces parse_disk_attrib, parse_disk_vdev_info, etc, and a second
> patch that makes any necessary changes to the state machine.
> Otherwise it is very difficult to understand the reason behind each
> change to the state machine.
>
That might be a little tricky. I will talk to you on this offline.
>> static int parse_disk_config(libxl_device_disk *disk, char *buf2)
>> {
>
> There doesn't seem to be a way to set DISK_FORMAT_EMPTY anymore, in fact
> a config line like ',hdc:cdrom,w' seems to be broken.
>
Patch 5/5, validation code should take care of it.
Kamala
prev parent reply other threads:[~2011-02-08 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-07 21:24 [PATCH 3/5] xl disk configuration parsing changes Kamala Narasimhan
2011-02-08 16:43 ` Stefano Stabellini
2011-02-08 19:08 ` Kamala Narasimhan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D5194C4.3060709@gmail.com \
--to=kamala.narasimhan@gmail.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.