Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-12 Thread Gleb Natapov
On Wed, Dec 12, 2012 at 12:46:41AM -0700, Matthew Ogilvie wrote: On Tue, Dec 11, 2012 at 06:19:56PM +0200, Gleb Natapov wrote: On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: Still needed: * Corresponding KVM patches. The best approach may

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-12 Thread Jan Kiszka
On 2012-12-12 12:36, Gleb Natapov wrote: How about things like pit_get_out(), pit_get_next_transition_time(), etc in qemu/hw/i8254_common.c? (If not used when KVM is enabled, then why are they common?) What are the implications if qemu and KVM

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-12 Thread Gleb Natapov
On Wed, Dec 12, 2012 at 12:38:33PM +0100, Jan Kiszka wrote: On 2012-12-12 12:36, Gleb Natapov wrote: How about things like pit_get_out(), pit_get_next_transition_time(), etc in qemu/hw/i8254_common.c? (If not used when KVM is enabled, then why are

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-11 Thread Jamie Lokier
Matthew Ogilvie wrote: 2. Just fix it immediately, and don't worry about migration. Squash the last few patches together. A single missed periodic timer tick that only happens when migrating between versions of qemu is probably not a significant concern. (Unless someone knows

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-11 Thread Gleb Natapov
On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: This series makes a series of mostly-unrelated fixes to allow running an old Microport UNIX (ca 1987) guest under qemu. Changes since version 6: * Patches 1 through 6 haven't changed, other than resolving a couple of

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-11 Thread Matthew Ogilvie
On Tue, Dec 11, 2012 at 11:20:05AM +, Jamie Lokier wrote: Matthew Ogilvie wrote: 2. Just fix it immediately, and don't worry about migration. Squash the last few patches together. A single missed periodic timer tick that only happens when migrating between versions of qemu

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-11 Thread Matthew Ogilvie
On Tue, Dec 11, 2012 at 06:19:56PM +0200, Gleb Natapov wrote: On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: Still needed: * Corresponding KVM patches. The best approach may depend on what option is selected for qemu above. * Note that

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-10 Thread Anthony Liguori
Jan Kiszka jan.kis...@web.de writes: On 2012-12-10 06:14, Matthew Ogilvie wrote: On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: This series makes a series of mostly-unrelated fixes to allow running an old Microport UNIX (ca 1987) guest under qemu. Changes since version 6:

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-10 Thread Matthew Ogilvie
On Mon, Dec 10, 2012 at 10:47:59AM -0600, Anthony Liguori wrote: Jan Kiszka jan.kis...@web.de writes: On 2012-12-10 06:14, Matthew Ogilvie wrote: On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: This series makes a series of mostly-unrelated fixes to allow running an old

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-09 Thread Matthew Ogilvie
On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: This series makes a series of mostly-unrelated fixes to allow running an old Microport UNIX (ca 1987) guest under qemu. Changes since version 6: * Patches 1 through 6 haven't changed, other than resolving a couple of

Re: [Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-12-09 Thread Jan Kiszka
On 2012-12-10 06:14, Matthew Ogilvie wrote: On Sun, Nov 25, 2012 at 02:51:36PM -0700, Matthew Ogilvie wrote: This series makes a series of mostly-unrelated fixes to allow running an old Microport UNIX (ca 1987) guest under qemu. Changes since version 6: * Patches 1 through 6 haven't

[Qemu-devel] [PATCH v7 00/10] i8254, i8259 and running Microport UNIX (ca 1987)

2012-11-25 Thread Matthew Ogilvie
This series makes a series of mostly-unrelated fixes to allow running an old Microport UNIX (ca 1987) guest under qemu. Changes since version 6: * Patches 1 through 6 haven't changed, other than resolving a couple of simple conflicts. * Patch 7 fixes IRQ0 by just making it work like