Re: [Qemu-devel] [Qemu-block] [PATCH] blockdev: Unset temporary flag when changing medium.

2016-02-06 Thread Alyssa Milburn
On Sat, Feb 06, 2016 at 02:04:23PM +0100, Max Reitz wrote: > On 04.02.2016 18:36, Alyssa Milburn wrote: > > This avoids a 'change' command from the monitor unlink()ing the new > > file if the bdrv was previously snapshotted. > > > > Signed-off-by: Alyssa

[Qemu-devel] [PATCH v2] blockdev: unset inappropriate flags when changing medium

2016-02-06 Thread Alyssa Milburn
Most importantly, this removes BDRV_O_TEMPORARY, to avoid unlink()ing an image which replaces a snapshotted one. Signed-off-by: Alyssa Milburn --- blockdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blockdev.c b/blockdev.c index be4ca44..a916b06 100644 --- a/blockdev.c +++ b

Re: [Qemu-devel] [PATCH 00/13] cuda: misc fixes and cleanups

2016-02-04 Thread Alyssa Milburn
On Sat, Jan 23, 2016 at 09:39:57PM +0100, Hervé Poussineau wrote: > This patchset cleans up a little bit the Apple CUDA emulation: > - correctly reject unknown commands > - correctly reject commands with wrong parameters > - support changing the frequency of auto-polling > - support changing device

[Qemu-devel] [PATCH] hw: fix some debug message format strings

2016-02-04 Thread Alyssa Milburn
Signed-off-by: Alyssa Milburn --- hw/nvram/mac_nvram.c | 6 -- hw/pci-host/uninorth.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/nvram/mac_nvram.c b/hw/nvram/mac_nvram.c index 564ef93..1671f46 100644 --- a/hw/nvram/mac_nvram.c +++ b/hw/nvram/mac_nvram.c

[Qemu-devel] [PATCH] blockdev: Unset temporary flag when changing medium.

2016-02-04 Thread Alyssa Milburn
This avoids a 'change' command from the monitor unlink()ing the new file if the bdrv was previously snapshotted. Signed-off-by: Alyssa Milburn --- blockdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/blockdev.c b/blockdev.c index be4ca44..d39c2e6 100644 --- a/blockd

Re: [Qemu-devel] [PATCH 13/13] cuda: remove CUDA_GET_SET_IIC/CUDA_COMBINED_FORMAT_IIC commands

2016-01-25 Thread Alyssa Milburn
On Sat, Jan 23, 2016 at 09:40:10PM +0100, Hervé Poussineau wrote: > We currently don't emulate the I2C bus provided by CUDA. The MOL source has the comment /* this reply is important on B&W G3 */ in the CUDA_COMBINED_FORMAT_IIC case (differentiating it from the general 0x2 error case); any idea if

Re: [Qemu-devel] [PATCH 00/13] cuda: misc fixes and cleanups

2016-01-25 Thread Alyssa Milburn
On Sat, Jan 23, 2016 at 09:39:57PM +0100, Hervé Poussineau wrote: > Hi, > > This patchset cleans up a little bit the Apple CUDA emulation: > - correctly reject unknown commands > - correctly reject commands with wrong parameters > - support changing the frequency of auto-polling > - support changi

Re: [Qemu-devel] [PATCH 12/13] cuda: remove GET_6805_ADDR command

2016-01-25 Thread Alyssa Milburn
On Mon, Jan 25, 2016 at 08:48:05AM +, Mark Cave-Ayland wrote: > > Mac OS 9 does seem to make the call, but it seems happy getting an 'unknown > > command' response; I can't find the original MOL tree (I guess it used to be > > in BitKeeper at mol.bkbits.net?) to work out why it's there - I assu

Re: [Qemu-devel] [PATCH 12/13] cuda: remove GET_6805_ADDR command

2016-01-25 Thread Alyssa Milburn
On Sat, Jan 23, 2016 at 09:40:09PM +0100, Hervé Poussineau wrote: > It doesn't seem to be used, and operating systems should accept a 'unknown > command' answer. Mac OS 9 does seem to make the call, but it seems happy getting an 'unknown command' response; I can't find the original MOL tree (I gu

[Qemu-devel] [PATCH] cuda.c: return error for unknown commands

2016-01-22 Thread Alyssa Milburn
This avoids MacsBug hanging at startup in the absence of ADB mouse input, by replying with an error (which is also what MOL does) when it sends an unknown command (0x1c). Signed-off-by: Alyssa Milburn --- hw/misc/macio/cuda.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/misc