qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] KVM call agenfda for 2014-04-01
@ 2014-03-31 10:40 Juan Quintela
  2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Juan Quintela @ 2014-03-31 10:40 UTC (permalink / raw)
  To: KVM devel mailing list, qemu list


Hi

Please, send any topic that you are interested in covering.

Thanks, Juan.

Call details:

10:00 AM to 11:00 AM EDT
Every two weeks

If you need phone number details,  contact me privately.

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 10:40 [Qemu-devel] KVM call agenfda for 2014-04-01 Juan Quintela
@ 2014-03-31 10:51 ` Andreas Färber
  2014-03-31 12:07   ` Stefan Hajnoczi
  2014-03-31 13:21   ` Christian Borntraeger
  2014-04-01 12:39 ` [Qemu-devel] KVM call agenfda " Juan Quintela
  2014-04-10 15:49 ` Alexander Graf
  2 siblings, 2 replies; 20+ messages in thread
From: Andreas Färber @ 2014-03-31 10:51 UTC (permalink / raw)
  To: quintela, KVM devel mailing list, qemu list
  Cc: Peter Maydell, Stefan Hajnoczi, Anthony Liguori, Anthony Liguori,
	Bruce Rogers

Hi,

Am 31.03.2014 12:40, schrieb Juan Quintela:
> 
> Please, send any topic that you are interested in covering.

I would like to discuss the state of the QEMU release process, please:

* -rc1 has not been tagged.
* Who besides Anthony could upload a tarball if we tag and create it?
* make-release fix for SeaBIOS on the list. Ping, and are more affected?

Thanks,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
@ 2014-03-31 12:07   ` Stefan Hajnoczi
  2014-03-31 13:21   ` Christian Borntraeger
  1 sibling, 0 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2014-03-31 12:07 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Peter Maydell, Stefan Hajnoczi, KVM devel mailing list, quintela,
	qemu list, Bruce Rogers, Anthony Liguori, Anthony Liguori

On Mon, Mar 31, 2014 at 12:51:31PM +0200, Andreas Färber wrote:
> Am 31.03.2014 12:40, schrieb Juan Quintela:
> > 
> > Please, send any topic that you are interested in covering.
> 
> I would like to discuss the state of the QEMU release process, please:
> 
> * -rc1 has not been tagged.
> * Who besides Anthony could upload a tarball if we tag and create it?
> * make-release fix for SeaBIOS on the list. Ping, and are more affected?

+1

Stefan

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
  2014-03-31 12:07   ` Stefan Hajnoczi
@ 2014-03-31 13:21   ` Christian Borntraeger
  2014-03-31 13:25     ` Peter Maydell
  1 sibling, 1 reply; 20+ messages in thread
From: Christian Borntraeger @ 2014-03-31 13:21 UTC (permalink / raw)
  To: Andreas Färber, quintela, KVM devel mailing list, qemu list
  Cc: Anthony Liguori, Peter Maydell, Anthony Liguori, Stefan Hajnoczi,
	Bruce Rogers

On 31/03/14 12:51, Andreas Färber wrote:
> Hi,
> 
> Am 31.03.2014 12:40, schrieb Juan Quintela:
>>
>> Please, send any topic that you are interested in covering.
> 
> I would like to discuss the state of the QEMU release process, please:
> 
> * -rc1 has not been tagged.
> * Who besides Anthony could upload a tarball if we tag and create it?
> * make-release fix for SeaBIOS on the list. Ping, and are more affected?

+1 for this one.

Another thing might be the release process in general. Currently it seems
that everybody tries to push everything just before the hard freeze.  I had
to debug some problems introduced _after_ soft freeze. Is there some
interest in having a Linux-like process (merge window + stabilization)? This
would require shorter release cycles of course.

Christian

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 13:21   ` Christian Borntraeger
@ 2014-03-31 13:25     ` Peter Maydell
  2014-03-31 14:01       ` Anthony Liguori
  0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2014-03-31 13:25 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Stefan Hajnoczi, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Anthony Liguori, Anthony Liguori,
	Andreas Färber

On 31 March 2014 14:21, Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> Another thing might be the release process in general. Currently it seems
> that everybody tries to push everything just before the hard freeze.  I had
> to debug some problems introduced _after_ soft freeze. Is there some
> interest in having a Linux-like process (merge window + stabilization)? This
> would require shorter release cycles of course.

"merge window" has been suggested before. I think it would be
a terrible idea for QEMU, personally. We're not the kernel in
many ways, notably dev community size and a greater tendency
to changes that have effects across the whole tree.

Soft + hard freeze is our stabilization period currently.

thanks
-- PMM

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 13:25     ` Peter Maydell
@ 2014-03-31 14:01       ` Anthony Liguori
  2014-03-31 14:28         ` Paolo Bonzini
  0 siblings, 1 reply; 20+ messages in thread
From: Anthony Liguori @ 2014-03-31 14:01 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Anthony Liguori, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Stefan Hajnoczi,
	Andreas Färber

On Mon, Mar 31, 2014 at 6:25 AM, Peter Maydell <peter.maydell@linaro.org> wrote:
> On 31 March 2014 14:21, Christian Borntraeger <borntraeger@de.ibm.com> wrote:
>> Another thing might be the release process in general. Currently it seems
>> that everybody tries to push everything just before the hard freeze.  I had
>> to debug some problems introduced _after_ soft freeze. Is there some
>> interest in having a Linux-like process (merge window + stabilization)? This
>> would require shorter release cycles of course.
>
> "merge window" has been suggested before. I think it would be
> a terrible idea for QEMU, personally. We're not the kernel in
> many ways, notably dev community size and a greater tendency
> to changes that have effects across the whole tree.
>
> Soft + hard freeze is our stabilization period currently.

Peter, are you willing to do the tagging and announcement for the 2.0
rcs?  I sent instructions privately and between stefanha and I we can
get your permissions sorted out.

Regards,

Anthony Liguori

> thanks
> -- PMM

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 14:01       ` Anthony Liguori
@ 2014-03-31 14:28         ` Paolo Bonzini
  2014-03-31 14:32           ` Peter Maydell
  0 siblings, 1 reply; 20+ messages in thread
From: Paolo Bonzini @ 2014-03-31 14:28 UTC (permalink / raw)
  To: Anthony Liguori, Peter Maydell
  Cc: Anthony Liguori, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Stefan Hajnoczi,
	Andreas Färber

Il 31/03/2014 16:01, Anthony Liguori ha scritto:
>> > "merge window" has been suggested before. I think it would be
>> > a terrible idea for QEMU, personally. We're not the kernel in
>> > many ways, notably dev community size and a greater tendency
>> > to changes that have effects across the whole tree.
>> >
>> > Soft + hard freeze is our stabilization period currently.
> Peter, are you willing to do the tagging and announcement for the 2.0
> rcs?  I sent instructions privately and between stefanha and I we can
> get your permissions sorted out.

I think it would be a good idea to separate the committer and release 
manager roles.  Peter is providing the community with a wonderful 
service, just like you were; putting too much work on his shoulders 
risks getting us in the same situation if anything were to affect his 
ability to provide it.

Paolo

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 14:28         ` Paolo Bonzini
@ 2014-03-31 14:32           ` Peter Maydell
  2014-03-31 14:46             ` Andreas Färber
  0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2014-03-31 14:32 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Stefan Hajnoczi, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Anthony Liguori,
	Andreas Färber, Anthony Liguori

On 31 March 2014 15:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
> I think it would be a good idea to separate the committer and release
> manager roles.  Peter is providing the community with a wonderful service,
> just like you were; putting too much work on his shoulders risks getting us
> in the same situation if anything were to affect his ability to provide it.

Yes, I strongly agree with this. I think we'll do much better
if we can manage to share out responsibilities among a wider
group of people.

thanks
-- PMM

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 14:32           ` Peter Maydell
@ 2014-03-31 14:46             ` Andreas Färber
  2014-03-31 15:42               ` Anthony Liguori
  2014-03-31 19:57               ` Michael Roth
  0 siblings, 2 replies; 20+ messages in thread
From: Andreas Färber @ 2014-03-31 14:46 UTC (permalink / raw)
  To: Peter Maydell, Paolo Bonzini
  Cc: Anthony Liguori, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Stefan Hajnoczi,
	Michael Roth, Anthony Liguori

Am 31.03.2014 16:32, schrieb Peter Maydell:
> On 31 March 2014 15:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> I think it would be a good idea to separate the committer and release
>> manager roles.  Peter is providing the community with a wonderful service,
>> just like you were; putting too much work on his shoulders risks getting us
>> in the same situation if anything were to affect his ability to provide it.
> 
> Yes, I strongly agree with this. I think we'll do much better
> if we can manage to share out responsibilities among a wider
> group of people.

May I propose Michael Roth, who is already experienced from the N-1
stable releases?

If we can enable him to upload the tarballs created from his tags that
would also streamline the stable workflow while at it.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 14:46             ` Andreas Färber
@ 2014-03-31 15:42               ` Anthony Liguori
  2014-03-31 16:58                 ` Markus Armbruster
  2014-03-31 19:57               ` Michael Roth
  1 sibling, 1 reply; 20+ messages in thread
From: Anthony Liguori @ 2014-03-31 15:42 UTC (permalink / raw)
  To: Andreas Färber
  Cc: Peter Maydell, Anthony Liguori, KVM devel mailing list,
	Juan Quintela, qemu list, Bruce Rogers, Christian Borntraeger,
	Stefan Hajnoczi, Paolo Bonzini, Michael Roth

On Mon, Mar 31, 2014 at 7:46 AM, Andreas Färber <afaerber@suse.de> wrote:
> Am 31.03.2014 16:32, schrieb Peter Maydell:
>> On 31 March 2014 15:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>> I think it would be a good idea to separate the committer and release
>>> manager roles.  Peter is providing the community with a wonderful service,
>>> just like you were; putting too much work on his shoulders risks getting us
>>> in the same situation if anything were to affect his ability to provide it.
>>
>> Yes, I strongly agree with this. I think we'll do much better
>> if we can manage to share out responsibilities among a wider
>> group of people.
>
> May I propose Michael Roth, who is already experienced from the N-1
> stable releases?
>
> If we can enable him to upload the tarballs created from his tags that
> would also streamline the stable workflow while at it.

If mdroth is willing to take this on, I am very supportive.

Regards,

Anthony Liguori

>
> Regards,
> Andreas
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 15:42               ` Anthony Liguori
@ 2014-03-31 16:58                 ` Markus Armbruster
  0 siblings, 0 replies; 20+ messages in thread
From: Markus Armbruster @ 2014-03-31 16:58 UTC (permalink / raw)
  To: Anthony Liguori
  Cc: Peter Maydell, Stefan Hajnoczi, KVM devel mailing list,
	Juan Quintela, Michael Roth, qemu list, Bruce Rogers,
	Christian Borntraeger, Anthony Liguori, Paolo Bonzini,
	Andreas Färber

Anthony Liguori <anthony@codemonkey.ws> writes:

> On Mon, Mar 31, 2014 at 7:46 AM, Andreas Färber <afaerber@suse.de> wrote:
>> Am 31.03.2014 16:32, schrieb Peter Maydell:
>>> On 31 March 2014 15:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>>> I think it would be a good idea to separate the committer and release
>>>> manager roles.  Peter is providing the community with a wonderful service,
>>>> just like you were; putting too much work on his shoulders risks getting us
>>>> in the same situation if anything were to affect his ability to provide it.
>>>
>>> Yes, I strongly agree with this. I think we'll do much better
>>> if we can manage to share out responsibilities among a wider
>>> group of people.
>>
>> May I propose Michael Roth, who is already experienced from the N-1
>> stable releases?
>>
>> If we can enable him to upload the tarballs created from his tags that
>> would also streamline the stable workflow while at it.
>
> If mdroth is willing to take this on, I am very supportive.

Another vote of confidence from me.

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 14:46             ` Andreas Färber
  2014-03-31 15:42               ` Anthony Liguori
@ 2014-03-31 19:57               ` Michael Roth
  2014-04-01  8:16                 ` Peter Maydell
  1 sibling, 1 reply; 20+ messages in thread
From: Michael Roth @ 2014-03-31 19:57 UTC (permalink / raw)
  To: Andreas Färber, Peter Maydell, Paolo Bonzini
  Cc: Anthony Liguori, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Stefan Hajnoczi,
	Anthony Liguori

Quoting Andreas Färber (2014-03-31 09:46:45)
> Am 31.03.2014 16:32, schrieb Peter Maydell:
> > On 31 March 2014 15:28, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >> I think it would be a good idea to separate the committer and release
> >> manager roles.  Peter is providing the community with a wonderful service,
> >> just like you were; putting too much work on his shoulders risks getting us
> >> in the same situation if anything were to affect his ability to provide it.
> > 
> > Yes, I strongly agree with this. I think we'll do much better
> > if we can manage to share out responsibilities among a wider
> > group of people.
> 
> May I propose Michael Roth, who is already experienced from the N-1
> stable releases?

Sure, I would be willing.

> 
> If we can enable him to upload the tarballs created from his tags that
> would also streamline the stable workflow while at it.

Agreed, though I feel a little weird about creating releases for tags that
aren't in the official repo. Would that be acceptable from a community
stand-point? I'm honestly not sure.

Otherwise I think Anthony/Peter would probably still need to process a pull
for stable-y.x branch in advance before we do the tarball/release. Would
still help simplify things a bit though by keeping tasks compartmentalized.

Anthony, Peter: in the past, prior to release, I just sent an email with
a pointer to my github branch with the stable release tagged. Would a proper
pull request (with a for-stable-x.y tag or somesuch) be preferable?

If we opt to align the stable repo updates with the actual release, what kind
of lead time would we need prior to actual release?

> 
> Regards,
> Andreas
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [Qemu-devel] KVM call agenda for 2014-04-01
  2014-03-31 19:57               ` Michael Roth
@ 2014-04-01  8:16                 ` Peter Maydell
  0 siblings, 0 replies; 20+ messages in thread
From: Peter Maydell @ 2014-04-01  8:16 UTC (permalink / raw)
  To: Michael Roth
  Cc: Stefan Hajnoczi, KVM devel mailing list, Juan Quintela, qemu list,
	Bruce Rogers, Christian Borntraeger, Anthony Liguori,
	Paolo Bonzini, Andreas Färber, Anthony Liguori

On 31 March 2014 20:57, Michael Roth <mdroth@linux.vnet.ibm.com> wrote:
> Agreed, though I feel a little weird about creating releases for tags that
> aren't in the official repo. Would that be acceptable from a community
> stand-point? I'm honestly not sure.
>
> Otherwise I think Anthony/Peter would probably still need to process a pull
> for stable-y.x branch in advance before we do the tarball/release. Would
> still help simplify things a bit though by keeping tasks compartmentalized.
>
> Anthony, Peter: in the past, prior to release, I just sent an email with
> a pointer to my github branch with the stable release tagged. Would a proper
> pull request (with a for-stable-x.y tag or somesuch) be preferable?

The simplest approach seems to me to be giving you commit access
to master so you can directly push release tags to it as part of
making a release.

thanks
-- PMM

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-03-31 10:40 [Qemu-devel] KVM call agenfda for 2014-04-01 Juan Quintela
  2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
@ 2014-04-01 12:39 ` Juan Quintela
  2014-04-10 15:49 ` Alexander Graf
  2 siblings, 0 replies; 20+ messages in thread
From: Juan Quintela @ 2014-04-01 12:39 UTC (permalink / raw)
  To: KVM devel mailing list; +Cc: qemu list

Juan Quintela <quintela@redhat.com> wrote:
> Hi
>
> Please, send any topic that you are interested in covering.
>
> Thanks, Juan.
>
> Call details:
>
> 10:00 AM to 11:00 AM EDT
> Every two weeks

Time clarification.  This time was wrong, it is 1h early.

15:00 CEST
13:00 UTC
09:00 EDT

Sorry for the inconvenience (I copy & paste from and old email, and  did
it wrong.)

Later, Juan.

>
> If you need phone number details,  contact me privately.

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-03-31 10:40 [Qemu-devel] KVM call agenfda for 2014-04-01 Juan Quintela
  2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
  2014-04-01 12:39 ` [Qemu-devel] KVM call agenfda " Juan Quintela
@ 2014-04-10 15:49 ` Alexander Graf
  2014-04-10 15:52   ` Peter Maydell
  2 siblings, 1 reply; 20+ messages in thread
From: Alexander Graf @ 2014-04-10 15:49 UTC (permalink / raw)
  To: quintela
  Cc: Peter Maydell, Peter Crosthwaite, Stuart Yoder,
	KVM devel mailing list, qemu list, Alistair Francis,
	Christoffer Dall


On 31.03.2014, at 12:40, Juan Quintela <quintela@redhat.com> wrote:

> 
> Hi
> 
> Please, send any topic that you are interested in covering.
> 
> Thanks, Juan.
> 
> Call details:
> 
> 10:00 AM to 11:00 AM EDT
> Every two weeks
> 
> If you need phone number details,  contact me privately.
> 

For the next call, I would propose to revive the "platform bus" (aka: how to create non-PCI devices with -device) discussions to make sure we're all on the same page.


Alex

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-04-10 15:49 ` Alexander Graf
@ 2014-04-10 15:52   ` Peter Maydell
  2014-04-10 15:57     ` Alexander Graf
  0 siblings, 1 reply; 20+ messages in thread
From: Peter Maydell @ 2014-04-10 15:52 UTC (permalink / raw)
  To: Alexander Graf
  Cc: Peter Crosthwaite, KVM devel mailing list, Juan Quintela,
	qemu list, Stuart Yoder, Alistair Francis, Christoffer Dall

On 10 April 2014 16:49, Alexander Graf <agraf@suse.de> wrote:
> For the next call, I would propose to revive the "platform bus"
> (aka: how to create non-PCI devices with -device) discussions
> to make sure we're all on the same page.

I rather suspect we are not :-)  Do you have a link to
the current proposals for prior reading?

thanks
-- PMM

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-04-10 15:52   ` Peter Maydell
@ 2014-04-10 15:57     ` Alexander Graf
  2014-04-10 16:16       ` Stuart Yoder
  2014-04-11  7:46       ` Markus Armbruster
  0 siblings, 2 replies; 20+ messages in thread
From: Alexander Graf @ 2014-04-10 15:57 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Peter Crosthwaite, KVM devel mailing list, Juan Quintela,
	qemu list, Stuart Yoder, Alistair Francis, Christoffer Dall


On 10.04.2014, at 17:52, Peter Maydell <peter.maydell@linaro.org> wrote:

> On 10 April 2014 16:49, Alexander Graf <agraf@suse.de> wrote:
>> For the next call, I would propose to revive the "platform bus"
>> (aka: how to create non-PCI devices with -device) discussions
>> to make sure we're all on the same page.
> 
> I rather suspect we are not :-)  Do you have a link to
> the current proposals for prior reading?

The only thing I could find is the old thread about my platform bus approach (which Anthony disliked):

  https://lists.gnu.org/archive/html/qemu-devel/2013-07/msg03614.html

So from what I remember the plan moving forward was to have a special device type similar to my platform bus devices that you can just create using -device, no bus involved. The machine file would then loop through them, interpret the "I sit at address x" and "I want interrupt number y" fields to link them to whatever the machine model thinks is a good fit.

The same way the machine model today has to have knowledge on each device tree node type it generates, it would do the same for these devices. So the machine has to have awareness of all the "funky special options" a device tree node receives - the same as for any other device. Just that in this case it wouldn't be able to hardcode them, but have to generate them on the fly when it sees a device in the object tree.


Alex

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-04-10 15:57     ` Alexander Graf
@ 2014-04-10 16:16       ` Stuart Yoder
  2014-04-11  7:46       ` Markus Armbruster
  1 sibling, 0 replies; 20+ messages in thread
From: Stuart Yoder @ 2014-04-10 16:16 UTC (permalink / raw)
  To: Alexander Graf, Peter Maydell
  Cc: Peter Crosthwaite, KVM devel mailing list, Juan Quintela,
	qemu list, Alistair Francis, Christoffer Dall



> -----Original Message-----
> From: Alexander Graf [mailto:agraf@suse.de]
> Sent: Thursday, April 10, 2014 10:57 AM
> To: Peter Maydell
> Cc: Juan Quintela; KVM devel mailing list; qemu list; Yoder Stuart-
> B08248; Alistair Francis; Peter Crosthwaite; Christoffer Dall
> Subject: Re: [Qemu-devel] KVM call agenfda for 2014-04-01
> 
> 
> On 10.04.2014, at 17:52, Peter Maydell <peter.maydell@linaro.org> wrote:
> 
> > On 10 April 2014 16:49, Alexander Graf <agraf@suse.de> wrote:
> >> For the next call, I would propose to revive the "platform bus"
> >> (aka: how to create non-PCI devices with -device) discussions
> >> to make sure we're all on the same page.
> >
> > I rather suspect we are not :-)  Do you have a link to
> > the current proposals for prior reading?
> 
> The only thing I could find is the old thread about my platform bus
> approach (which Anthony disliked):
> 
>   https://lists.gnu.org/archive/html/qemu-devel/2013-07/msg03614.html
> 
> So from what I remember the plan moving forward was to have a special
> device type similar to my platform bus devices that you can just create
> using -device, no bus involved. The machine file would then loop through
> them, interpret the "I sit at address x" and "I want interrupt number y"
> fields to link them to whatever the machine model thinks is a good fit.
> 
> The same way the machine model today has to have knowledge on each device
> tree node type it generates, it would do the same for these devices. So
> the machine has to have awareness of all the "funky special options" a
> device tree node receives - the same as for any other device. Just that
> in this case it wouldn't be able to hardcode them, but have to generate
> them on the fly when it sees a device in the object tree.

Another link that may help from a call we had back in Sept:
https://lists.cs.columbia.edu/pipermail/kvmarm/2013-September/005532.html

Stuart

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-04-10 15:57     ` Alexander Graf
  2014-04-10 16:16       ` Stuart Yoder
@ 2014-04-11  7:46       ` Markus Armbruster
  2014-04-11  9:17         ` Alexander Graf
  1 sibling, 1 reply; 20+ messages in thread
From: Markus Armbruster @ 2014-04-11  7:46 UTC (permalink / raw)
  To: Alexander Graf
  Cc: Peter Maydell, Peter Crosthwaite, KVM devel mailing list,
	Juan Quintela, Stuart Yoder, qemu list, Anthony Liguori,
	Alistair Francis, Andreas Färber, Christoffer Dall

[Cc: Andreas, Anthony]

Alexander Graf <agraf@suse.de> writes:

> On 10.04.2014, at 17:52, Peter Maydell <peter.maydell@linaro.org> wrote:
>
>> On 10 April 2014 16:49, Alexander Graf <agraf@suse.de> wrote:
>>> For the next call, I would propose to revive the "platform bus"
>>> (aka: how to create non-PCI devices with -device) discussions

Rather: devices that connect to more than just a bus.

Since pseudo-bus sysbus provides exactly no connections, sysbus devices
generally connect to more.

Currently, the only way to make such additional connections is
special-purpose code.  -device's connection engine can only connect to a
bus.

>>> to make sure we're all on the same page.
>> 
>> I rather suspect we are not :-)  Do you have a link to
>> the current proposals for prior reading?
>
> The only thing I could find is the old thread about my platform bus
> approach (which Anthony disliked):
>
>   https://lists.gnu.org/archive/html/qemu-devel/2013-07/msg03614.html
>
> So from what I remember the plan moving forward was to have a special
> device type similar to my platform bus devices that you can just
> create using -device, no bus involved. The machine file would then
> loop through them, interpret the "I sit at address x" and "I want
> interrupt number y" fields to link them to whatever the machine model
> thinks is a good fit.
>
> The same way the machine model today has to have knowledge on each
> device tree node type it generates, it would do the same for these
> devices. So the machine has to have awareness of all the "funky
> special options" a device tree node receives - the same as for any
> other device. Just that in this case it wouldn't be able to hardcode
> them, but have to generate them on the fly when it sees a device in
> the object tree.

The following is just my understanding of where we're trying to go.  The
people active in this field (Andreas?) should correct misunderstandings.

Our overall goal is building machines from components by *data* rather
than code.  Once it's data, it can be made run-time configuration.

The configuration describes how components are to be connected, and
generic connection code makes the connections guided by the
configuration.

The current generic connection code can only connect a device to a
single bus.

If you don't specify the bus, it picks one.  Which one it picks is
effectively ABI.

Picking a bus is a special case of "pick a connection if user didn't
specify one".  The current bus-picker doesn't depend on the machine
type, but that's not going to hold in general.

I like to think of the "pick connections the user didn't specify" engine
as conceptually separate from the "make connections driven by
configuration" engine.  The actual code isn't so separate, but that's
implementation.

How does your "platform device" proposal (for lack of a better
expression) fit into this general framework of ideas?

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

* Re: [Qemu-devel] KVM call agenfda for 2014-04-01
  2014-04-11  7:46       ` Markus Armbruster
@ 2014-04-11  9:17         ` Alexander Graf
  0 siblings, 0 replies; 20+ messages in thread
From: Alexander Graf @ 2014-04-11  9:17 UTC (permalink / raw)
  To: Markus Armbruster
  Cc: Peter Maydell, Peter Crosthwaite, KVM devel mailing list,
	Juan Quintela, Stuart Yoder, qemu list, Anthony Liguori,
	Alistair Francis, Andreas Färber, Christoffer Dall


On 11.04.14 09:46, Markus Armbruster wrote:
> [Cc: Andreas, Anthony]
>
> Alexander Graf <agraf@suse.de> writes:
>
>> On 10.04.2014, at 17:52, Peter Maydell <peter.maydell@linaro.org> wrote:
>>
>>> On 10 April 2014 16:49, Alexander Graf <agraf@suse.de> wrote:
>>>> For the next call, I would propose to revive the "platform bus"
>>>> (aka: how to create non-PCI devices with -device) discussions
> Rather: devices that connect to more than just a bus.
>
> Since pseudo-bus sysbus provides exactly no connections, sysbus devices
> generally connect to more.
>
> Currently, the only way to make such additional connections is
> special-purpose code.  -device's connection engine can only connect to a
> bus.
>
>>>> to make sure we're all on the same page.
>>> I rather suspect we are not :-)  Do you have a link to
>>> the current proposals for prior reading?
>> The only thing I could find is the old thread about my platform bus
>> approach (which Anthony disliked):
>>
>>    https://lists.gnu.org/archive/html/qemu-devel/2013-07/msg03614.html
>>
>> So from what I remember the plan moving forward was to have a special
>> device type similar to my platform bus devices that you can just
>> create using -device, no bus involved. The machine file would then
>> loop through them, interpret the "I sit at address x" and "I want
>> interrupt number y" fields to link them to whatever the machine model
>> thinks is a good fit.
>>
>> The same way the machine model today has to have knowledge on each
>> device tree node type it generates, it would do the same for these
>> devices. So the machine has to have awareness of all the "funky
>> special options" a device tree node receives - the same as for any
>> other device. Just that in this case it wouldn't be able to hardcode
>> them, but have to generate them on the fly when it sees a device in
>> the object tree.
> The following is just my understanding of where we're trying to go.  The
> people active in this field (Andreas?) should correct misunderstandings.
>
> Our overall goal is building machines from components by *data* rather
> than code.  Once it's data, it can be made run-time configuration.

I've had plenty of discussions on this with Anthony over the years 
(first time this came up was about 2 or 3 years ago) on this. Eventually 
his conclusion was that it's not desirable to build the machine from 
data. Instead it should get built from a script. The nice thing about a 
script is that it's also run-time, but not as restricted and as much 
special-cased as a mere description.

Unfortunately I don't know all of the rationale that went into the 
conclusion :).

> The configuration describes how components are to be connected, and
> generic connection code makes the connections guided by the
> configuration.
>
> The current generic connection code can only connect a device to a
> single bus.
>
> If you don't specify the bus, it picks one.  Which one it picks is
> effectively ABI.
>
> Picking a bus is a special case of "pick a connection if user didn't
> specify one".  The current bus-picker doesn't depend on the machine
> type, but that's not going to hold in general.
>
> I like to think of the "pick connections the user didn't specify" engine
> as conceptually separate from the "make connections driven by
> configuration" engine.  The actual code isn't so separate, but that's
> implementation.
>
> How does your "platform device" proposal (for lack of a better
> expression) fit into this general framework of ideas?

Any leaf devices that are not hooked up to anything get connected by 
machine specific code :). So the "pick connections the user didn't 
specify" logic would be machine specific.


Alex

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

end of thread, other threads:[~2014-04-11  9:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 10:40 [Qemu-devel] KVM call agenfda for 2014-04-01 Juan Quintela
2014-03-31 10:51 ` [Qemu-devel] KVM call agenda " Andreas Färber
2014-03-31 12:07   ` Stefan Hajnoczi
2014-03-31 13:21   ` Christian Borntraeger
2014-03-31 13:25     ` Peter Maydell
2014-03-31 14:01       ` Anthony Liguori
2014-03-31 14:28         ` Paolo Bonzini
2014-03-31 14:32           ` Peter Maydell
2014-03-31 14:46             ` Andreas Färber
2014-03-31 15:42               ` Anthony Liguori
2014-03-31 16:58                 ` Markus Armbruster
2014-03-31 19:57               ` Michael Roth
2014-04-01  8:16                 ` Peter Maydell
2014-04-01 12:39 ` [Qemu-devel] KVM call agenfda " Juan Quintela
2014-04-10 15:49 ` Alexander Graf
2014-04-10 15:52   ` Peter Maydell
2014-04-10 15:57     ` Alexander Graf
2014-04-10 16:16       ` Stuart Yoder
2014-04-11  7:46       ` Markus Armbruster
2014-04-11  9:17         ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).