Re: [Qemu-devel] [PATCH] qemu-img.c: add help for each command

2018-09-07 Thread Programmingkid
> On Sep 7, 2018, at 11:13 PM, Peter Maydell wrote: > > On 8 September 2018 at 04:01, John Arbuckle wrote: > >> +/* print the help for this command */ >> +if (strcmp("--help", argv[optind + 1]) == 0) { >> +if (strcmp("amend", cmdname) == 0) { >> +help_amend(); >> +

Re: [Qemu-devel] [PATCH] qemu-common.h: update copyright date to 2018

2018-09-09 Thread Programmingkid
> On Sep 9, 2018, at 1:34 PM, Stefan Weil wrote: > > Am 09.09.2018 um 17:32 schrieb John Arbuckle: >> Currently the copyright date is set to 2017. Update the date to say >> 2018. >> >> Signed-off-by: John Arbuckle >> --- >> include/qemu-common.h | 2 +- >> 1 file changed, 1 insertion(+), 1 del

Re: [Qemu-devel] [PATCH] qemu-img.c: add help for each command

2018-09-10 Thread Programmingkid
> On Sep 10, 2018, at 4:16 AM, Kevin Wolf wrote: > > Am 08.09.2018 um 05:16 hat Programmingkid geschrieben: >> >>> On Sep 7, 2018, at 11:13 PM, Peter Maydell wrote: >>> >>> On 8 September 2018 at 04:01, John Arbuckle >>> wrote

Re: [Qemu-devel] [PATCH for-3.1 0/7] target/ppc fp cleanups

2018-07-04 Thread Programmingkid
> On Jul 3, 2018, at 11:31 PM, David Gibson wrote: > > On Tue, Jul 03, 2018 at 08:17:25AM -0700, Richard Henderson wrote: >> Beginning with John Arbuckle's fdiv test case, clean up some >> of the fp helpers. As with fdiv, fre and fresqrt are missing >> divide-by-zero exceptions. >> >> I've al

Re: [Qemu-devel] [PATCH for-3.1 0/7] target/ppc fp cleanups

2018-07-04 Thread Programmingkid
> On Jul 4, 2018, at 10:15 AM, Alex Bennée wrote: > > > Richard Henderson writes: > >> >> Anyway, all of this has been broken long enough that it'll need to >> wait til next devel cycle before anything further gets done. > > When it gets done should we add some explicit ppc tests to tests/

Re: [Qemu-devel] [PATCH for-3.1 0/7] target/ppc fp cleanups

2018-07-04 Thread Programmingkid
> On Jul 4, 2018, at 11:39 AM, Alex Bennée wrote: > > > Programmingkid writes: > >>> On Jul 4, 2018, at 10:15 AM, Alex Bennée wrote: >>> >>> >>> Richard Henderson writes: >>> >>>> >>>> Anyway, all o

Re: [Qemu-devel] [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups

2018-07-05 Thread Programmingkid
> Hi, > > qemu-system-ppc has an issue after building from the 3.1 branch. Mac > OS 9 hangs at the grey boot screen, OSX 10.3 hangs after verbose boot, > just before entering the graphical desktop. > > Command line to reproduce: > > qemu-system-ppc -L pc-bios -boot c -M mac99,via=pmu -m 512 -p

Re: [Qemu-devel] [PATCH 7/7] target/ppc: Use non-arithmetic conversions for fp load/store

2018-07-05 Thread Programmingkid
> On Jul 3, 2018, at 11:17 AM, Richard Henderson > wrote: > > Memory operations have no side effects on fp state. > The use of a "real" conversions between float64 and float32 > would raise exceptions for SNaN and out-of-range inputs. Would you have any documentation that tells us about conve

Re: [Qemu-devel] [PATCH 7/7] target/ppc: Use non-arithmetic conversions for fp load/store

2018-07-05 Thread Programmingkid
> On Jul 5, 2018, at 12:48 PM, Richard Henderson > wrote: > > On 07/05/2018 09:31 AM, Programmingkid wrote: >>> On Jul 3, 2018, at 11:17 AM, Richard Henderson >>> wrote: >>> >>> Memory operations have no side effects on fp state. >>

[Qemu-devel] VGA cirrus patch prevents video output

2018-07-05 Thread Programmingkid
I noticed that the video in QEMU stopped working. When I start qemu-system-ppc all I see is a black window. Not even OpenBIOS displays anything. After some bisecting I found out it was this patch that causes the problem: Commit 29f9cef39eb1ae55e82c6763eb22d7a1bdff7276 Author: Sebastian Bauer D

Re: [Qemu-devel] [PATCH] ui/cocoa: Suppress NSFileHandlingPanelOKButton deprecation warning

2018-05-29 Thread Programmingkid
> On May 25, 2018, at 6:26 AM, Peter Maydell wrote: > > OSX 10.13 deprecates the NSFileHandlingPanelOKButton constant, and > would rather you use NSModalResponseOK, which was introduced in OS 10.9. > Use the recommended new constant name, with a backward compatibility > define if we're building

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Suppress NSFileHandlingPanelOKButton depreciation warning

2018-05-29 Thread Programmingkid
> On May 29, 2018, at 2:11 PM, Peter Maydell wrote: > > On 29 May 2018 at 19:08, John Arbuckle wrote: >> OSX 10.13 deprecates the NSFileHandlingPanelOKButton constant, and >> would rather you use NSModalResponseOK, which was introduced in OS 10.9. >> Use the recommended new constant name, with

Re: [Qemu-devel] [PATCH v2] ui/cocoa: Suppress NSFileHandlingPanelOKButton deprecation warning

2018-05-29 Thread Programmingkid
> On May 29, 2018, at 2:15 PM, Peter Maydell wrote: > > OSX 10.13 deprecates the NSFileHandlingPanelOKButton constant, and > would rather you use NSModalResponseOK, which was introduced in OS 10.9. > Use the recommended new constant name, with a backward compatibility > define if we're building

Re: [Qemu-devel] [RFC PATCH 2/5] kbd-state: add hotkey registry

2018-06-01 Thread Programmingkid
> On Feb 21, 2018, at 12:08 PM, Gerd Hoffmann wrote: > > Add support to register hotkeys and to check whenever a given QKeyCode > combined with the current modifier state is a hotkey. A hotkey can be > any key combined with up to three modifier keys. I have finally reviewed the patches you se

Re: [Qemu-devel] [RFC PATCH 2/5] kbd-state: add hotkey registry

2018-06-05 Thread Programmingkid
> On Jun 5, 2018, at 6:20 AM, Gerd Hoffmann wrote: > > Hi, > >> You say the hotkey is a QKeyCode and a modifier key combined. But it looks >> like a single QKeyCode would be supported. I would prefer being able to use >> a single key like F16 to ungrab the mouse. Would that be possible here

Re: [Qemu-devel] [Qemu-block] [PATCH] Add interactive mode to qemu-img command

2018-07-30 Thread Programmingkid
> On Jul 30, 2018, at 3:48 PM, Eric Blake wrote: > > On 07/30/2018 02:14 PM, John Arbuckle wrote: >> Changes qemu-img so if the user runs it without any >> arguments, it will walk the user thru making an image >> file. > > Please remember to cc qemu-devel on ALL patches, as suggested by > ./s

[Qemu-devel] [PATCH] qemu-img.c: increase spacing between commands in documentation

2018-07-30 Thread Programmingkid
When the user uses the --help option in qemu-img, the output for the commands is very hard to read due to being so close to each other. With this patch the help for the commands is double spaced making things easier to read. Signed-off-by: John Arbuckle --- qemu-img.c | 2 +- 1 file changed, 1 i

Re: [Qemu-devel] [PATCH] qemu-img-cmds.hx: Add example usage for create command

2018-07-31 Thread Programmingkid
> On Jul 31, 2018, at 8:35 AM, Kevin Wolf wrote: > > Am 31.07.2018 um 13:57 hat Eric Blake geschrieben: >> On 07/30/2018 09:52 PM, John Arbuckle wrote: >>> Add an example on how to use the create command. I believe this will make >>> qemu-img easier to use. >>> >>> Signed-off-by: John Arbuckl

Re: [Qemu-devel] [PATCH] qemu-img-cmds.hx: Add example usage for create command

2018-07-31 Thread Programmingkid
> On Jul 31, 2018, at 7:57 AM, Eric Blake wrote: > > On 07/30/2018 09:52 PM, John Arbuckle wrote: >> Add an example on how to use the create command. I believe this will make >> qemu-img easier to use. >> Signed-off-by: John Arbuckle >> --- >> qemu-img-cmds.hx | 2 +- >> 1 file changed, 1 in

[Qemu-devel] QEMU 3.0 RC3 mouse problem with Windows 3.1 and NT 4.0

2018-08-01 Thread Programmingkid
The mouse cursor stops working properly under Windows 3.1 and Windows NT 4.0 after a few minutes of use. The cursor will want to stay at the very edges of the QEMU window.

Re: [Qemu-devel] RISC-V platform

2018-08-02 Thread Programmingkid
> On Aug 2, 2018, at 5:07 PM, Palmer Dabbelt wrote: > > On Fri, 29 Jun 2018 14:20:34 PDT (-0700), alistai...@gmail.com wrote: >> On Fri, Jun 29, 2018 at 2:05 PM, G 3 wrote: >>> Hi, I noticed your RISC-V patches on the mailing list and had a question >>> that I think you may be able to answer.

Re: [Qemu-devel] [PATCH] qemu-img.c: Add examples section

2018-08-02 Thread Programmingkid
> On Aug 2, 2018, at 10:10 PM, Fam Zheng wrote: > > On Thu, 08/02 20:50, John Arbuckle wrote: >> Add an examples section to the help output. >> >> Signed-off-by: John Arbuckle >> --- >> qemu-img.c | 11 +++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/qemu-img.c b/qemu-img.c

Re: [Qemu-devel] [PATCH] qemu-img.c: Add examples section

2018-08-03 Thread Programmingkid
> On Aug 3, 2018, at 4:46 AM, Fam Zheng wrote: > > On Thu, 08/02 22:34, Programmingkid wrote: >> >>> On Aug 2, 2018, at 10:10 PM, Fam Zheng wrote: >>> >>> On Thu, 08/02 20:50, John Arbuckle wrote: >>>> Add an examples section to th

Re: [Qemu-devel] [PATCH 2/2] hw/ppc: deprecate the machine type 'prep', replaced by '40p'

2018-08-10 Thread Programmingkid
> On Aug 9, 2018, at 5:35 PM, qemu-devel-requ...@nongnu.org wrote: > > Date: Thu, 9 Aug 2018 22:40:10 +0200 > From: Herv? Poussineau > To: qemu-devel@nongnu.org > Cc: Mark Cave-Ayland , David Gibson > , Alexander Graf , > qemu-...@nongnu.org, Herv? Poussineau > Subject: [Qemu-deve

Re: [Qemu-devel] [PATCH 2/2] hw/ppc: deprecate the machine type 'prep', replaced by '40p'

2018-08-11 Thread Programmingkid
> On Aug 11, 2018, at 1:40 AM, qemu-devel-requ...@nongnu.org wrote: > > > Hello, > > Le 10/08/2018 ? 18:17, Programmingkid a ?crit?: >> >> Can a real 40p machine boot Windows NT 4.0 PowerPC? >> >> > > Yes. > > A real 40p machine is

Re: [Qemu-devel] [PATCH] fix fdiv instruction

2018-06-24 Thread Programmingkid
> On Jun 24, 2018, at 2:30 PM, Richard Henderson > wrote: > > On 06/24/2018 06:46 AM, Programmingkid wrote: >>> Even in your referenced PDF, table 3-13, it says that frD is unmodified. >> >> Actually it says when FPSCR[ZE] is set is when frD is unmodified.

Re: [Qemu-devel] [PATCH] fix fdiv instruction

2018-06-25 Thread Programmingkid
> On Jun 25, 2018, at 5:08 PM, Richard Henderson > wrote: > > On Mon, Jun 25, 2018, 08:23 G 3 wrote: > > > > Try > > > > uint64_t expected_answer = 0xdeadbeef; > > ... > > c.i = expected_answer; > > asm volatile("fdiv %0, %1, %2" : "+f"(c.d) : "f"(1.0), "f"(0.0)); > >

Re: [Qemu-devel] [PATCH v2] fix fdiv instruction

2018-06-30 Thread Programmingkid
On Jun 30, 2018, at 11:43 AM, Richard Henderson wrote: > On 06/29/2018 08:06 PM, John Arbuckle wrote: >> When the fdiv instruction divides a finite number by zero, >> the result actually depends on the FPSCR[ZE] bit. If this >> bit is set, the return value is the value originally in >> the desti

Re: [Qemu-devel] [PATCH] ui/cocoa.m: prevent stuck command key when going into full screen mode

2018-07-01 Thread Programmingkid
On Jul 1, 2018, at 3:30 PM, Peter Maydell wrote: > On 19 June 2018 at 02:58, John Arbuckle wrote: >> When the user pushes Command-F in QEMU while the mouse is ungrabbed, QEMU >> goes into full screen mode. When the user finally releases the command key, >> it is sent to the guest as an event. >

Re: [Qemu-devel] [PATCH] qemu-img.c: increase spacing between commands in documentation

2018-08-14 Thread Programmingkid
> On Aug 14, 2018, at 8:55 AM, Eric Blake wrote: > > On 08/14/2018 03:40 AM, Kevin Wolf wrote: >>> And I've already expressed my opinion that it is already rather long, where >>> making it longer is not necessarily making it smarter. >> I think if we want to improve the help text, we should spl

Re: [Qemu-devel] [PATCH] qemu-img.c: increase spacing between commands in documentation

2018-08-16 Thread Programmingkid
> On Aug 14, 2018, at 4:40 AM, Kevin Wolf wrote: > > Am 13.08.2018 um 20:19 hat Eric Blake geschrieben: >> On 08/13/2018 11:56 AM, Max Reitz wrote: >>> >>> Ah, hm, so much for that. Hm... I don't quite know what to think of >>> this. It does indeed improve legibility. But the question is w

Re: [Qemu-devel] [PATCH] qemu-img.c: increase spacing between commands in documentation

2018-08-17 Thread Programmingkid
> On Aug 17, 2018, at 9:44 AM, Eric Blake wrote: > > On 08/16/2018 08:27 PM, Programmingkid wrote: > >> I am by no means an expert at qemu-img. But I did try my best to create what >> I think should be the new output for qemu-img --help. This is just >> the te

Re: [Qemu-devel] [PATCH] qemu-img.c: increase spacing between commands in documentation

2018-08-18 Thread Programmingkid
> On Aug 17, 2018, at 4:59 PM, Eric Blake wrote: > > On 08/17/2018 02:28 PM, Programmingkid wrote: > >>>> -o Used with a comma separated list of format specific >>>> options in a >>>> name=value format.

Re: [Qemu-devel] [PATCH] hw/input/ps2.c: fix erratic mouse behavior for Windows 3.1

2018-08-20 Thread Programmingkid
> On Aug 20, 2018, at 1:24 AM, Gerd Hoffmann wrote: > > On Sun, Aug 19, 2018 at 12:35:09AM -0400, John Arbuckle wrote: >> When the user moves the mouse and moves the scroll wheel at the same >> time, the mouse cursor's movement becomes erratic in Windows 3.1. With >> this patch if the mouse is

Re: [Qemu-devel] [PATCH] fpu_helper.c: fix helper_fpscr_clrbit() function

2018-06-17 Thread Programmingkid
> On Jun 17, 2018, at 8:34 PM, David Gibson wrote: > > On Sun, Jun 17, 2018 at 11:53:09AM -0400, John Arbuckle wrote: >> Fix the helper_fpscr_clrbit() function so it correctly >> sets the FEX and VX bits. > > This needs a lot more information in the commit message: > > * What exactly was wro

Re: [Qemu-devel] [PATCH] fpu_helper.c: fix helper_fpscr_clrbit() function

2018-06-18 Thread Programmingkid
> On Jun 18, 2018, at 7:30 AM, Peter Maydell wrote: > > On 17 June 2018 at 16:53, John Arbuckle wrote: >> Fix the helper_fpscr_clrbit() function so it correctly >> sets the FEX and VX bits. >> >> Signed-off-by: John Arbuckle >> --- >> target/ppc/fpu_helper.c | 57 >>

Re: [Qemu-devel] [PATCH] ui/cocoa.m: fix absolute mode

2018-06-18 Thread Programmingkid
On Jun 18, 2018, at 7:18 AM, Peter Maydell wrote: > On 8 June 2018 at 21:01, John Arbuckle wrote: >> Fix the cocoa front-end to correctly be able to use absolute mode. >> >> Signed-off-by: John Arbuckle > > This commit message is insufficiently detailed, which makes > it hard to review the p

Re: [Qemu-devel] [PATCH] fix fdiv instruction

2018-06-23 Thread Programmingkid
> On Jun 23, 2018, at 12:17 PM, Richard Henderson > wrote: > > On 06/22/2018 07:22 PM, John Arbuckle wrote: >> When the fdiv instruction divides a finite number by zero, >> the result actually depends on the FPSCR[ZE] bit. If this >> bit is set, the return value is zero. If it is not set >> th

Re: [Qemu-devel] [PATCH] fix fdiv instruction

2018-06-24 Thread Programmingkid
> On Jun 24, 2018, at 12:18 AM, Richard Henderson > wrote: > > On 06/23/2018 01:17 PM, Programmingkid wrote: >>>> https://www.pdfdrive.net/powerpc-microprocessor-family-the-programming-environments-for-32-e3087633.html >>>> This document has the infor

Re: [Qemu-devel] [Qemu-ppc] [PATCH 7/7] mac_newworld: add PMU device

2018-06-13 Thread Programmingkid
+static uint64_t mos6522_pmu_read(void *opaque, hwaddr addr, unsigned size) +{ +PMUState *s = opaque; +MOS6522PMUState *mps = &s->mos6522_pmu; +MOS6522State *ms = MOS6522(mps); + +addr = (addr >> 9) & 0xf; This 9 should be replaced with a macro that communicates what this value mea

[Qemu-devel] Help with uploading pictures to wiki

2017-09-10 Thread Programmingkid
For some reason when I try to upload a picture to the wiki site, nothing happens. I made a wiki page that is located here: https://wiki.qemu.org/index.php/Documentation/GuestOperatingSystems/MacOS10.4 When I click on a picture link the upload form loads. Selecting the picture I want does work.

Re: [Qemu-devel] [PATCH v5 08/12] char: convert the escc device to keycodemapdb

2017-09-15 Thread Programmingkid
Sorry but I saw this error when I tried your patches: OBJCui/cocoa.o CC ui/curses.o ui/input-keymap.c:17:10: fatal error: 'ui/input-keymap-qcode-to-sun.c' file not found #include "ui/input-keymap-qcode-to-sun.c" ^ 1 error generated. make: *** [ui/input-keymap.o] Error 1

Re: [Qemu-devel] [PATCH v5 08/12] char: convert the escc device to keycodemapdb

2017-09-18 Thread Programmingkid
> On Sep 18, 2017, at 5:28 AM, Daniel P. Berrange wrote: > > On Fri, Sep 15, 2017 at 02:32:14PM -0400, Programmingkid wrote: >> Sorry but I saw this error when I tried your patches: >> >> OBJCui/cocoa.o >> CC ui/curses.o >> ui/input-keymap

Re: [Qemu-devel] [Qemu-ppc] PowerPC question

2016-12-27 Thread Programmingkid
On Dec 27, 2016, at 2:16 PM, Дмитрий Смирнов wrote: > Unfortunately, I have to use version 2.5.1.1. Can I do something in this case? Why do you need to use it? What is the guest operating system you are using? Version 2.8 has a lot more bug fixes in it. You might find it easier to use. > > 20

Re: [Qemu-devel] [Qemu-ppc] PowerPC question

2016-12-27 Thread Programmingkid
2:18 GMT+03:00 Programmingkid : > > On Dec 27, 2016, at 2:16 PM, Дмитрий Смирнов wrote: > > > Unfortunately, I have to use version 2.5.1.1. Can I do something in this > > case? > > Why do you need to use it? What is the guest operating system you are using? > Version 2.8 ha

[Qemu-devel] Reducing guest cpu usage

2016-12-28 Thread Programmingkid
There is a program that I run inside of QEMU that doesn't use the virtual CPU very efficiently. It causes QEMU to use 100% of the guest's CPU time. I was wondering if there were a way to reduce the amount of host CPU time that a guest CPU can use? This feature would help prevent laptops from hea

Re: [Qemu-devel] [Qemu-discuss] Reducing guest cpu usage

2016-12-29 Thread Programmingkid
PU and OS > Guest CPU and OS > Application details > > > Il 29 dic 2016 07:27, "Programmingkid" ha scritto: > There is a program that I run inside of QEMU that doesn't use the virtual CPU > very efficiently. It causes QEMU to use 100% of the guest's C

[Qemu-devel] [PATCH] ui/cocoa.m: add Speed menu

2016-12-29 Thread Programmingkid
Programs running inside of QEMU can sometimes use more CPU time than is really needed. To solve this problem, we just need to throttle the virtual CPU. This feature will stop laptops from burning up. This patch adds a menu called Speed that has menu items from 10 to 1. They represent the speed op

Re: [Qemu-devel] [PATCH] ui/cocoa.m: add Speed menu

2016-12-29 Thread Programmingkid
On Dec 29, 2016, at 12:35 PM, Eric Blake wrote: > On 12/29/2016 11:24 AM, Programmingkid wrote: >> Programs running inside of QEMU can sometimes use more CPU time than is >> really >> needed. To solve this problem, we just need to throttle the virtual CPU. This >> fea

[Qemu-devel] [PATCH v2] ui/cocoa.m: add Speed menu

2016-12-29 Thread Programmingkid
Programs running inside of QEMU can sometimes use more CPU time than is really needed. To solve this problem, we just need to throttle the virtual CPU. This feature will stop laptops from burning up. This patch adds a menu called Speed that has menu items from 100% to 1% that represent the speed

[Qemu-devel] [PATCH] ui/cocoa.m: add toast file support

2016-12-30 Thread Programmingkid
Add the ability for the user to use .toast files with QEMU. This format works just like ISO files. Signed-off-by: John Arbuckle --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 26d4a1c..c81f7b6 100644 --- a/ui/cocoa.m +++ b/ui/cocoa

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-18 Thread Programmingkid
> On Oct 18, 2017, at 9:31 PM, David Gibson wrote: > > On Wed, Oct 18, 2017 at 06:31:16PM -0400, John Arbuckle wrote: >> Implement the strnlen() function if it isn't implemented. >> >> Signed-off-by: John Arbuckle > > Nice idea, but this won't work. > >> --- >> libfdt/fdt_ro.c | 24 +

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-19 Thread Programmingkid
> On Oct 19, 2017, at 12:11 AM, David Gibson > wrote: > > On Wed, Oct 18, 2017 at 10:39:57PM -0400, Programmingkid wrote: >> >>> On Oct 18, 2017, at 9:31 PM, David Gibson >>> wrote: >>> >>> On Wed, Oct 18, 2017 at 06:31:16PM -0400, John

Re: [Qemu-devel] [libfdt][PATCH v2] implement strnlen for systems that need it

2017-10-22 Thread Programmingkid
> On Oct 22, 2017, at 9:37 AM, Peter Maydell wrote: > > On 21 October 2017 at 00:44, Richard Henderson > wrote: >> On 10/20/2017 10:55 AM, John Arbuckle wrote: >>> +static inline size_t strnlen(const char *string, size_t max_count) >>> +{ >>> +size_t count; >>> +for (count = 0; count <

Re: [Qemu-devel] [libfdt][PATCH v2] implement strnlen for systems that need it

2017-10-22 Thread Programmingkid
> On Oct 22, 2017, at 1:33 AM, David Gibson wrote: > > On Fri, Oct 20, 2017 at 04:44:58PM -0700, Richard Henderson wrote: >> On 10/20/2017 10:55 AM, John Arbuckle wrote: >>> +static inline size_t strnlen(const char *string, size_t max_count) >>> +{ >>> +size_t count; >>> +for (count = 0;

Re: [Qemu-devel] [libfdt][PATCH v2] implement strnlen for systems that need it

2017-10-22 Thread Programmingkid
> On Oct 22, 2017, at 3:06 PM, Ian Lepore wrote: > > On Sun, 2017-10-22 at 10:41 -0400, Programmingkid wrote: >>> >>> On Oct 22, 2017, at 1:33 AM, David Gibson wrote: >>> >>> On Fri, Oct 20, 2017 at 04:44:58PM -0700, Richard Henderson wrote: >

Re: [Qemu-devel] [libfdt][PATCH v3] implement strnlen for systems that need it

2017-10-23 Thread Programmingkid
> On Oct 23, 2017, at 12:09 PM, Stefan Hajnoczi wrote: > > On Sun, Oct 22, 2017 at 10:50:16PM -0400, John Arbuckle wrote: >> Prior the Mac OS 10.7, the function strnlen() was not available. This patch >> implements strnlen() on Mac OS X versions that are below 10.7. >> >> Signed-off-by: John Ar

Re: [Qemu-devel] [libfdt][PATCH v3] implement strnlen for systems that need it

2017-10-23 Thread Programmingkid
> On Oct 23, 2017, at 12:27 PM, Peter Maydell wrote: > > On 23 October 2017 at 17:09, Stefan Hajnoczi wrote: >>> +/* strnlen() is not available on Mac OS < 10.7 */ >>> +# if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) >> >> Does this cover the case where MAC_OS_X_VERSION_MAX_ALLOWED

Re: [Qemu-devel] [libfdt][PATCH v2] implement strnlen for systems that need it

2017-10-23 Thread Programmingkid
> On Oct 22, 2017, at 1:33 AM, David Gibson wrote: > > On Fri, Oct 20, 2017 at 04:44:58PM -0700, Richard Henderson wrote: >> On 10/20/2017 10:55 AM, John Arbuckle wrote: >>> +static inline size_t strnlen(const char *string, size_t max_count) >>> +{ >>> +size_t count; >>> +for (count = 0;

Re: [Qemu-devel] [libfdt][PATCH v3] implement strnlen for systems that need it

2017-10-24 Thread Programmingkid
> On Oct 24, 2017, at 8:09 AM, Stefan Hajnoczi wrote: > > On Mon, Oct 23, 2017 at 11:13:13PM -0400, Programmingkid wrote: >> >>> On Oct 23, 2017, at 12:09 PM, Stefan Hajnoczi wrote: >>> >>> On Sun, Oct 22, 2017 at 10:50:16PM -0400, John Arbuc

Re: [Qemu-devel] [libfdt][PATCH v3] implement strnlen for systems that need it

2017-10-25 Thread Programmingkid
> On Oct 24, 2017, at 8:18 AM, Stefan Hajnoczi wrote: > > On Mon, Oct 23, 2017 at 05:27:26PM +0100, Peter Maydell wrote: >> On 23 October 2017 at 17:09, Stefan Hajnoczi wrote: +/* strnlen() is not available on Mac OS < 10.7 */ +# if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_

[Qemu-devel] drive_add: file names with spaces

2017-10-27 Thread Programmingkid
I'm trying to use an image file that has spaces in its file name (and sometimes in the path) to be used as a USB flash drive. When I try adding the image file using the drive_add command I see this error: drive_add: extraneous characters at the end of the line I have tried using single and doub

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-29 Thread Programmingkid
> On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert > wrote: > > * Eric Blake (ebl...@redhat.com) wrote: >> On 10/28/2017 06:44 AM, Programmingkid wrote: >>> I'm trying to use an image file that has spaces in its file name (and >>> sometimes in

[Qemu-devel] [PULL 28/36] tests: Add ubuntu.i386 image

2017-09-22 Thread Programmingkid
Could a Darwin test be added? Both x86 and PowerPC versions would be great.

Re: [Qemu-devel] [PULL 28/36] tests: Add ubuntu.i386 image

2017-09-22 Thread Programmingkid
> On Sep 22, 2017, at 8:44 AM, Fam Zheng wrote: > > On Fri, 09/22 08:10, Programmingkid wrote: >> Could a Darwin test be added? Both x86 and PowerPC versions would be great. > > It's nice to cover macOS in our test, but to be honest I don't know how to do >

Re: [Qemu-devel] [PULL 28/36] tests: Add ubuntu.i386 image

2017-09-22 Thread Programmingkid
> On Sep 22, 2017, at 9:18 AM, Daniel P. Berrange wrote: > > On Fri, Sep 22, 2017 at 08:44:05PM +0800, Fam Zheng wrote: >> On Fri, 09/22 08:10, Programmingkid wrote: >>> Could a Darwin test be added? Both x86 and PowerPC versions would be great. >> >> It&#x

Re: [Qemu-devel] [PULL 28/36] tests: Add ubuntu.i386 image

2017-09-25 Thread Programmingkid
> On Sep 25, 2017, at 4:57 AM, Daniel P. Berrange wrote: > > On Fri, Sep 22, 2017 at 04:26:40PM -0400, Programmingkid wrote: >> >>> On Sep 22, 2017, at 9:18 AM, Daniel P. Berrange wrote: >>> >>> On Fri, Sep 22, 2017 at 08:44:05PM +0800,

[Qemu-devel] Ping: [PATCH 0/2] ui/cocoa.m: enable guest to see control-alt key combinations

2017-09-27 Thread Programmingkid
Currently if the user needs to send a control-alt key combination, he or she was either out of luck or had to rely on the monitor's sendkey command to do so. With this patch the user can now directly send control-alt key combinations. This is great for Windows guest that may need the control-al

[Qemu-devel] [PATCH v7 0/6] Initial support for keycodemapdb GIT submodule

2017-09-28 Thread Programmingkid
> This patch series is an update to: > > v1: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02047.html > v2: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02471.html > v3: https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg02517.html > v4: https://lists.gnu.org/arch

Re: [Qemu-devel] [Qemu-ppc] How to add my implementation of the fmadds instruction to QEMU

2016-09-29 Thread Programmingkid
On Sep 29, 2016, at 12:17 AM, David Gibson wrote: > On Tue, Sep 27, 2016 at 09:58:02AM -0700, Peter Maydell wrote: >> On 27 September 2016 at 09:51, G 3 wrote: >>> The problem with your reasoning is you assume this instruction has to be >>> 100% correctly implemented. That every single "corner-c

Re: [Qemu-devel] [Qemu-ppc] How to add my implementation of the fmadds instruction to QEMU

2016-09-29 Thread Programmingkid
On Sep 29, 2016, at 11:41 AM, Peter Maydell wrote: > On 28 September 2016 at 21:17, David Gibson > wrote: >> I think there is a way you could get both speed and accuracy, but it's >> a huge project: >> >> You'd need to add full float awareness to TCG - so floating point TCG >> values and float

Re: [Qemu-devel] [Qemu-ppc] How to add my implementation of the fmadds instruction to QEMU

2016-09-29 Thread Programmingkid
On Sep 29, 2016, at 2:19 PM, Alex Bennée wrote: > > Programmingkid writes: > >> On Sep 29, 2016, at 12:17 AM, David Gibson wrote: >> >>> On Tue, Sep 27, 2016 at 09:58:02AM -0700, Peter Maydell wrote: >>>> On 27 September 2016 at 09:51, G 3 wrote: &g

Re: [Qemu-devel] [Qemu-ppc] How to add my implementation of the fmadds instruction to QEMU

2016-09-29 Thread Programmingkid
On Sep 29, 2016, at 6:36 PM, Alex Bennée wrote: > > Programmingkid writes: > >> On Sep 29, 2016, at 2:19 PM, Alex Bennée wrote: >> >>> >>> Programmingkid writes: >>> >>>> On Sep 29, 2016, at 12:17 AM, David Gibson wrote: >>

Re: [Qemu-devel] [Qemu-ppc] How to add my implementation of the fmadds instruction to QEMU

2016-09-29 Thread Programmingkid
On Sep 29, 2016, at 8:39 PM, David Gibson wrote: > On Thu, Sep 29, 2016 at 12:55:23PM -0400, Programmingkid wrote: >> >> On Sep 29, 2016, at 11:41 AM, Peter Maydell wrote: >> >>> On 28 September 2016 at 21:17, David Gibson >>> wrote: >>>>

[Qemu-devel] Function keys F16 to F19 support

2016-06-30 Thread Programmingkid
Apple has a keyboard that has function keys F16 to F19 on it. Would you accept a patch that adds support for these keys to the cocoa interface?

[Qemu-devel] Speed menu for GTK interfaace

2017-01-01 Thread Programmingkid
Hello, I was wondering if you would accept a patch that added a Speed menu to the GTK interface. This would allow the user to change how much CPU time the emulated CPU would see.

[Qemu-devel] [PATCH v2] ui/cocoa.m: fix sending mouse event to guest

2017-01-01 Thread Programmingkid
The mouse down event should not be sent to the guest if the mouse down event causes QEMU to move the foreground from the background. This patch prevents these activation clicks from going to the guest. Signed-off-by: John Arbuckle --- v2 changes: Fix a bug that caused fullscreen mode not to recei

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-03 Thread Programmingkid
On Jan 3, 2017, at 3:59 AM, Gerd Hoffmann wrote: > On So, 2017-01-01 at 13:15 -0500, Programmingkid wrote: >> Hello, I was wondering if you would accept a patch that added a Speed >> menu to the GTK interface. This would allow the user to change how >> much CPU time the e

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 3:37 AM, Gerd Hoffmann wrote: > Hi, > >> It is quite simple, there would be a 100% to a 1% menu item. It would look >> like >> this: >> >> Speed >> --- >> 100% >> 90% >> 80% >> 70% >> 60% >> 50% >> 40% >> 30% >> 20% >> 10% >> 1% >> >> >> Each menu item would call cpu_

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 10:51 AM, Daniel P. Berrange wrote: > On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: >> Hi, >> >>> It is quite simple, there would be a 100% to a 1% menu item. It would look >>> like >>> this: >>> >>> Speed >>> --- >>> 100% >>> 90% >>> 80% >>> 70% >>> 60

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 11:19 AM, Daniel P. Berrange wrote: > On Wed, Jan 04, 2017 at 11:01:30AM -0500, Programmingkid wrote: >> >> On Jan 4, 2017, at 10:51 AM, Daniel P. Berrange wrote: >> >>> On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: >>&

Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: fix sending mouse event to guest

2017-01-06 Thread Programmingkid
On Jan 6, 2017, at 8:48 AM, Peter Maydell wrote: > On 1 January 2017 at 21:31, Programmingkid wrote: >> The mouse down event should not be sent to the guest if the mouse down event >> causes QEMU to move the foreground from the background. This patch prevents >> these a

Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: fix sending mouse event to guest

2017-01-06 Thread Programmingkid
On Jan 6, 2017, at 11:19 AM, Peter Maydell wrote: > On 6 January 2017 at 15:44, Programmingkid wrote: >> >> On Jan 6, 2017, at 8:48 AM, Peter Maydell wrote: >> >>> On 1 January 2017 at 21:31, Programmingkid >>> wrote: >>>> The mouse down

Re: [Qemu-devel] drive_add: file names with spaces

2017-10-30 Thread Programmingkid
> On Oct 30, 2017, at 10:32 AM, Dr. David Alan Gilbert > wrote: > > * Programmingkid (programmingk...@gmail.com) wrote: >> >>> On Oct 29, 2017, at 6:21 AM, Dr. David Alan Gilbert >>> wrote: >>> >>> * Eric Blake (ebl...@redhat.com) wr

Re: [Qemu-devel] [PATCH v2 2/2] ui/cocoa.m: send ctrl-alt key combinations to guest if not used by QEMU

2017-11-01 Thread Programmingkid
> On Oct 31, 2017, at 10:52 AM, Peter Maydell wrote: > > On 31 October 2017 at 14:38, Peter Maydell wrote: >> On 5 October 2017 at 15:55, John Arbuckle wrote: >>> Send control-alt key combinations to the guest if not used by the user >>> interface. >>> >>> --- >>> v2 changes: >>> - changed l

Re: [Qemu-devel] [PATCH v2 1/2] ui/cocoa.m: move ungrab to ctrl-alt-g

2017-11-02 Thread Programmingkid
> On Nov 2, 2017, at 5:10 AM, Peter Maydell wrote: > > On 5 October 2017 at 15:55, John Arbuckle wrote: >> Currently the cocoa user interface relys on the user pushing control-alt to >> ungrab the mouse. This is patch changes the key combination to control-alt-g >> to be in line with the GTK

Re: [Qemu-devel] [PATCH v2 1/2] ui/cocoa.m: move ungrab to ctrl-alt-g

2017-11-02 Thread Programmingkid
> On Nov 2, 2017, at 12:06 PM, BALATON Zoltan wrote: > > On Thu, 2 Nov 2017, Programmingkid wrote: >>> On Nov 2, 2017, at 5:10 AM, Peter Maydell wrote: >>> >>> On 5 October 2017 at 15:55, John Arbuckle wrote: >>>> Currently the cocoa user

Re: [Qemu-devel] [PULL 2/3] ui/cocoa.m: move ungrab to ctrl-alt-g

2017-11-08 Thread Programmingkid
> On Nov 7, 2017, at 5:16 AM, Peter Maydell wrote: > > From: John Arbuckle > > Currently the cocoa user interface relis on the user pushing I would change "relis" to "relies" here. > control-alt to ungrab the mouse. This is patch changes the key > combination to control-alt-g to be in line

[Qemu-devel] Command-line option to change ungrab key(s)

2017-11-13 Thread Programmingkid
Would you accept a patch that allows the user to change the mouse ungrab key(s) in QEMU? It would look something like this: -ungrab or -ungrab ,,... If the user wanted the F19 key to be the ungrab key, this is what would be sent to QEMU: -ungrab F19 If the user wanted F16 and F17 held

Re: [Qemu-devel] Command-line option to change ungrab key(s)

2017-11-13 Thread Programmingkid
> On Nov 13, 2017, at 10:20 AM, Marc-André Lureau > wrote: > > Hi > > On Mon, Nov 13, 2017 at 3:50 PM, Daniel P. Berrange > wrote: >> On Mon, Nov 13, 2017 at 09:29:25AM -0500, Programmingkid wrote: >>> Would you accept a patch that allows the user to ch

Re: [Qemu-devel] Command-line option to change ungrab key(s)

2017-11-14 Thread Programmingkid
> On Nov 14, 2017, at 2:21 AM, Gerd Hoffmann wrote: > > Hi, > > Would this feature be something you would consider adding to QEMU? As context, virt-manager allows customization for the ungrab sequence, and so do spice-gtk/gtk-vnc at the API level. So conceptually I think it

[Qemu-devel] Google Summer of Code 2018 - add Windows NT 4.0 PowerPC support

2018-03-18 Thread Programmingkid
Is there still time to add another idea to the Google Summer of Code 2018 list? I just came across an interesting idea to add support for Windows NT 4.0 PowerPC to QEMU. If there is still time, would there be anyone interested in mentoring this project?

Re: [Qemu-devel] [PATCH v2 00/25] SDCard: housekeeping, improve SPI, introduce new Specs

2018-01-03 Thread Programmingkid
> On Jan 3, 2018, at 4:25 PM, qemu-devel-requ...@nongnu.org wrote: > > Message: 10 > Date: Wed, 3 Jan 2018 18:24:11 -0300 > From: Philippe Mathieu-Daud? > To: Alistair Francis , Peter Maydell > , Igor Mitsyanko , > Andrew Baumann , Olbrich > , Andrzej Zaborowski > Cc:

Re: [Qemu-devel] [PULL 00/17] M68k for 2.12 patches

2018-01-04 Thread Programmingkid
What operating systems boot with this patch set? Does any version of the Mac OS run in this 68k emulator?

Re: [Qemu-devel] [PULL 00/17] M68k for 2.12 patches

2018-01-04 Thread Programmingkid
> On Jan 4, 2018, at 12:32 PM, Laurent Vivier wrote: > > Le 04/01/2018 à 18:09, Programmingkid a écrit : >> What operating systems boot with this patch set? Does any version of the Mac >> OS run in this 68k emulator? >> > > For the moment you can't boot

Re: [Qemu-devel] [PATCH v2 00/25] SDCard: housekeeping, improve SPI, introduce new Specs

2018-01-04 Thread Programmingkid
> On Jan 4, 2018, at 12:57 PM, Philippe Mathieu-Daudé wrote: > > Hi John, > >> Is there a way to make this SD card reader work with Mac OS X or Windows >> guests? > > As noted by Kevin here: > http://lists.nongnu.org/archive/html/qemu-devel/2017-12/msg02765.html > > If your machine has a PCI

Re: [Qemu-devel] [PULL 00/17] M68k for 2.12 patches

2018-01-04 Thread Programmingkid
> On Jan 4, 2018, at 2:52 PM, Laurent Vivier wrote: > > Le 04/01/2018 à 20:26, Programmingkid a écrit : >> >>> On Jan 4, 2018, at 12:32 PM, Laurent Vivier wrote: >>> >>> Le 04/01/2018 à 18:09, Programmingkid a écrit : >>>> What operating

Re: [Qemu-devel] [PULL 00/17] M68k for 2.12 patches

2018-01-04 Thread Programmingkid
> On Jan 4, 2018, at 2:52 PM, Laurent Vivier wrote: > > Le 04/01/2018 à 20:26, Programmingkid a écrit : >> >>> On Jan 4, 2018, at 12:32 PM, Laurent Vivier wrote: >>> >>> Le 04/01/2018 à 18:09, Programmingkid a écrit : >>>> What operating

Re: [Qemu-devel] [PATCH v6] ui/cocoa.m: Add ability for user to specify mouse ungrab key

2018-02-16 Thread Programmingkid
> On Feb 16, 2018, at 8:15 AM, Gerd Hoffmann wrote: > > On Sat, Feb 03, 2018 at 12:17:43PM -0500, John Arbuckle wrote: >> Currently the ungrab keys for the Cocoa and GTK interface are Control-Alt-g. >> This combination may not be very fun for the user to have to enter, so we >> now enable the us

Re: [Qemu-devel] [PATCH v6] ui/cocoa.m: Add ability for user to specify mouse ungrab key

2018-02-19 Thread Programmingkid
> On Feb 19, 2018, at 3:48 AM, Gerd Hoffmann wrote: > > Hi, > >>> (b) Restrict allowed hotkeys to modifier key(s) plus one >>> non-modifier key. Forwarding modifier keydown+keyup >>> to the guest has typically effects inside the guest, >>> so we only have to hold back that single non-mo

<    4   5   6   7   8   9   10   11   >