Re: [Qemu-devel] [PATCH] workaround for cmd646 bmdma register access while no dma is active

2009-12-13 Thread Igor Kovalenko
On Sun, Dec 13, 2009 at 6:50 PM, Blue Swirl wrote: > On Sun, Dec 13, 2009 at 12:23 PM, Igor V. Kovalenko > wrote: >> From: Igor V. Kovalenko >> >> This is a workaround only, and is a partial revert >> of a few changes to BMDMAState which removed pci_dev >> field on the way. >> >> - cmd646 pci_fr

[Qemu-devel] [PATCH] workaround for cmd646 bmdma register access while no dma is active

2009-12-13 Thread Igor V. Kovalenko
From: Igor V. Kovalenko This is a workaround only, and is a partial revert of a few changes to BMDMAState which removed pci_dev field on the way. - cmd646 pci_from_bm() expects bm->unit value to correspond with bm data being passed to callback as opaque pointer. This breaks when write to dma con

Re: [Qemu-devel] [PATCH] workaround for cmd646 bmdma register access while no dma is active

2009-12-13 Thread Blue Swirl
On Sun, Dec 13, 2009 at 12:23 PM, Igor V. Kovalenko wrote: > From: Igor V. Kovalenko > > This is a workaround only, and is a partial revert > of a few changes to BMDMAState which removed pci_dev > field on the way. > > - cmd646 pci_from_bm() expects bm->unit value to > correspond with bm data bei

[Qemu-devel] [PATCH] workaround for cmd646 bmdma register access while no dma is active

2009-12-13 Thread Igor V. Kovalenko
From: Igor V. Kovalenko This is a workaround only, and is a partial revert of a few changes to BMDMAState which removed pci_dev field on the way. - cmd646 pci_from_bm() expects bm->unit value to correspond with bm data being passed to callback as opaque pointer. This breaks when write to dma con