[Qemu-devel] [PATCH v5 0/4] Implement some QKeyCode support

2016-03-15 Thread Programmingkid
This patchset adds QKeyCode support to the adb and cocoa code. Note: you do not need to be on a Mac to test out the adb.c, qapi-schema.json, and adb-keys.h files. Only the cocoa.m file changes are Mac specific. If you are using Linux as a guest, then the xev command is what you could use to test

[Qemu-devel] Help with qapi.py problem

2016-03-30 Thread Programmingkid
I just git pull'ed today and now have this problem: .../scripts/qapi.py", line 1726, in maybe_open return open(name, opt) IOError: [Errno 1] Operation not permitted: './qapi-types.h' This is the version of python I am using: >>> import sys >>> print (sys.version) 2.6.1 (r261:67515, Jun 24 20

Re: [Qemu-devel] Help with qapi.py problem

2016-03-30 Thread Programmingkid
On Mar 30, 2016, at 11:51 AM, Eric Blake wrote: > On 03/30/2016 09:10 AM, Programmingkid wrote: >> I just git pull'ed today and now have this problem: >> >> .../scripts/qapi.py", line 1726, in maybe_open >>return open(name, opt) >> IOError: [Errno

[Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X

2016-03-30 Thread Programmingkid
Remove macro that prevents event_notifier_init_fd() function from being compiled on Mac OS X. This patch fixes this error: Undefined symbols for architecture x86_64: "_event_notifier_init_fd", referenced from: _process_msg in ivshmem.o ld: symbol(s) not found for architecture x86_64 coll

[Qemu-devel] [PATCH] ui/cocoa.m: Add support for cdr files

2016-03-30 Thread Programmingkid
Allow the user to select .cdr files in the file open dialog. Signed-off-by: John Arbuckle --- ui/cocoa.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 6914714..60a7c07 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -874,7 +874,8 @@ QemuCocoaVie

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

2016-04-02 Thread Programmingkid
The mouse down event should not be sent to the guest if the mouse down event causes an activation of QEMU. This patch prevents activation clicks from going to the guest. Signed-off-by: John Arbuckle --- ui/cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/cocoa.m b/u

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

2016-04-02 Thread Programmingkid
On Apr 2, 2016, at 1:07 PM, Peter Maydell wrote: > On 2 April 2016 at 17:56, Programmingkid wrote: >> The mouse down event should not be sent to the guest if the mouse down event >> causes an activation of QEMU. This patch prevents activation clicks from >> going >>

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

2016-04-02 Thread Programmingkid
On Apr 2, 2016, at 1:35 PM, Peter Maydell wrote: > On 2 April 2016 at 18:25, Programmingkid wrote: >> >> On Apr 2, 2016, at 1:07 PM, Peter Maydell wrote: >> >>> On 2 April 2016 at 17:56, Programmingkid wrote: >>>> The mouse down event should

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

2016-04-03 Thread Programmingkid
On Apr 3, 2016, at 8:21 AM, Peter Maydell wrote: > On 2 April 2016 at 18:53, Programmingkid wrote: >> >> On Apr 2, 2016, at 1:35 PM, Peter Maydell wrote: >> >>> On 2 April 2016 at 18:25, Programmingkid wrote: >>>> >>>> On Apr 2, 2016, a

[Qemu-devel] ping [PATCH 0/3] Switch USB HID to QKeyCode

2016-04-10 Thread Programmingkid
https://patchwork.ozlabs.org/patch/602035/ This patchset switches from the PS/2 keycode to QKeyCode support in the hid.c file. John Arbuckle (3): usb-keys.h: initial commit hid.c: convert to QKeyCode hid.c: Add debug support hw/input/hid.c | 279 ++---

[Qemu-devel] ping [PATCH 1/3] usb-keys.h: initial commit

2016-04-10 Thread Programmingkid
https://patchwork.ozlabs.org/patch/602035/ Create an emum of all the USB HID keyboard values. Signed-off-by: John Arbuckle --- include/hw/input/usb-keys.h | 154 1 file changed, 154 insertions(+) create mode 100644 include/hw/input/usb-keys.h diff

[Qemu-devel] ping [PATCH 2/3] hid.c: convert to QKeyCode

2016-04-10 Thread Programmingkid
https://patchwork.ozlabs.org/patch/602036/ Switches hid.c from PS/2 to QKeyCode support. Signed-off-by: John Arbuckle --- hw/input/hid.c | 270 ++--- 1 file changed, 179 insertions(+), 91 deletions(-) diff --git a/hw/input/hid.c b/hw/input/hi

[Qemu-devel] ping [PATCH 3/3] hid.c: Add debug support

2016-04-10 Thread Programmingkid
https://patchwork.ozlabs.org/patch/602037/ Add debug macros to the code for easier debugging. Signed-off-by: John Arbuckle --- hw/input/hid.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/input/hid.c b/hw/input/hid.c index 329a27b..42ca592 100644 --- a/hw/input/hid.c +++ b

Re: [Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X

2016-04-14 Thread Programmingkid
On Apr 8, 2016, at 7:25 AM, Markus Armbruster wrote: > [Wasn't delivered correctly by eggs.gnu.org, resending] > > Paolo Bonzini writes: > >> On 30/03/2016 18:35, Programmingkid wrote: >>> Remove macro that prevents event_notifier_init_fd() function from

Re: [Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X

2016-04-14 Thread Programmingkid
On Apr 14, 2016, at 2:39 PM, Peter Maydell wrote: > On 14 April 2016 at 19:24, Programmingkid wrote: >> I did a fresh clone of the QEMU repository. Then tried building QEMU. This is >> the error I saw: >> >> CCcontrib/ivshmem-client/ivshmem-client.o >> CC

[Qemu-devel] Is anyone able to load a web page from a guest operating system?

2016-04-26 Thread Programmingkid
My three guest operating systems can't load a web page. I think this is a bug with QEMU. Is there anyone who has the latest revision of QEMU that can access the web from a guest? Or are you experiencing the same problem?

Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?

2016-04-26 Thread Programmingkid
On Apr 26, 2016, at 3:00 PM, Dr. David Alan Gilbert wrote: > * Programmingkid (programmingk...@gmail.com) wrote: >> My three guest operating systems can't load a web page. I think this is a >> bug with QEMU. Is there anyone who has the latest revision of QEMU that can >

Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?

2016-04-26 Thread Programmingkid
On Apr 26, 2016, at 4:12 PM, Thomas Huth wrote: > On 26.04.2016 21:25, Programmingkid wrote: >> >> On Apr 26, 2016, at 3:00 PM, Dr. David Alan Gilbert wrote: >> >>> * Programmingkid (programmingk...@gmail.com) wrote: >>>> My three guest operating syst

Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?

2016-04-27 Thread Programmingkid
On Apr 27, 2016, at 2:34 AM, Thomas Huth wrote: > On 26.04.2016 22:19, Programmingkid wrote: >> >> On Apr 26, 2016, at 4:12 PM, Thomas Huth wrote: >> >>> On 26.04.2016 21:25, Programmingkid wrote: >>>> >>>> On

Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?

2016-04-28 Thread Programmingkid
On Apr 28, 2016, at 8:18 AM, Samuel Thibault wrote: > Programmingkid, on Wed 27 Apr 2016 20:25:26 -0400, wrote: >> Found out which patch was causing problems. This one: >> >> commit 5379229a2708df3a1506113315214c3ce5325859 >> Author: Guillaume Subiron >> Date:

Re: [Qemu-devel] [PATCH v2 1/4] adb-keys.h - initial commit

2016-05-05 Thread Programmingkid
On May 5, 2016, at 10:54 AM, Peter Maydell wrote: > On 24 March 2016 at 14:03, Programmingkid wrote: >> Add the adb-keys.h file. It maps ADB transition key codes with values. >> >> Signed-off-by: John Arbuckle >> --- >> *v2 changes: >> Changed order of

[Qemu-devel] [PATCH v3 0/5] ADB improvements

2016-05-05 Thread Programmingkid
This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below. John Arbuckle (5): adb-keys.h: initial commit adb.c: add support for QKeyCode adb.c: correct several key assignments adb.c: prevent NO_KEY value from going to g

[Qemu-devel] [PATCH v3 1/5] adb-keys.h: initial commit

2016-05-05 Thread Programmingkid
Add the adb-keys.h file. It maps ADB transition key codes with values. Signed-off-by: John Arbuckle --- *v3 changes: Removed note. *v2 changes: Changed order of this patch. include/hw/input/adb-keys.h | 142 1 file changed, 142 insertions(+) create

[Qemu-devel] [PATCH v3 2/5] adb.c: add support for QKeyCode

2016-05-05 Thread Programmingkid
The old pc scancode translation is replaced with QEMU's QKeyCode. Signed-off-by: John Arbuckle --- *v3 changes Kept original pc_to_adb_keycode mapping. *v2 changes Changed order of this patch. hw/input/adb.c | 222 + 1 file changed, 176 i

[Qemu-devel] [PATCH v3 3/5] adb.c: correct several key assignments

2016-05-05 Thread Programmingkid
The original pc_to_adb_keycode mapping did have several keys that were incorrectly mapped. This patch fixes these mappings. Signed-off-by: John Arbuckle --- hw/input/adb.c | 33 - 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/hw/input/adb.c b/hw/

[Qemu-devel] [PATCH v3 4/5] adb.c: prevent NO_KEY value from going to guest

2016-05-05 Thread Programmingkid
The NO_KEY value should not be sent to the guest. This patch drops that value. Signed-off-by: John Arbuckle --- hw/input/adb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/input/adb.c b/hw/input/adb.c index 6d4f4dc..37728b3 100644 --- a/hw/input/adb.c +++ b/hw/input/adb.c @@ -424,6

[Qemu-devel] [PATCH v3 5/5] adb.c: add power key support

2016-05-05 Thread Programmingkid
Add support for the power key. It has to be handled differently from the other keys because it is the only 16-bit value key. Signed-off-by: John Arbuckle --- v3 change Add several suggested comments. Moved the location of an else statement in the adb_keyboard_event() function. hw/input/adb.c |

Re: [Qemu-devel] [PATCH v5 3/4] adb-keys.h: initial commit

2016-03-15 Thread Programmingkid
On Mar 15, 2016, at 1:43 PM, Peter Maydell wrote: > On 15 March 2016 at 17:17, Programmingkid wrote: >> This commit implements the adb-keys.h file. It holds information on adb >> keycode >> values. >> >> Signed-off-by: John Arbuckle >> --- &g

[Qemu-devel] [PATCH v3] ui/cocoa.m: fix help menus

2016-03-15 Thread Programmingkid
Make the help menus actually work. The code will search thru three different locations for the help file. If it can't be found a dialog will tell the user the file can't be found. Signed-off-by: John Arbuckle --- *v3 changes Removed code that opens a web page. Removed number_of_paths and added

[Qemu-devel] [PATCH] mac_newworld.c: add USB keyboard and mouse as default

2016-03-15 Thread Programmingkid
Add the USB keyboard and mouse by default to the mac99 target. This more closely represents what a real PowerMac3,1 would be using. Signed-off-by: John Arbuckle --- The USB keyboard and mouse work better than their ADB counterparts. I can right click on a Mac OS X guest with a USB mouse. The Key

[Qemu-devel] Using OHCI USB card in x86 emulator or using UHCI USB card on PowerPC emulator

2016-03-19 Thread Programmingkid
I am debugging an issue with the USB sound card. Is there a way to use the UHCI USB card in the PowerPC emulator, or be able to use the OHCI USB card in the x86 emulator?

[Qemu-devel] ping [PATCH v15] block/raw-posix.c: Make physical devices usable in QEMU under Mac OS X host

2016-03-21 Thread Programmingkid
http://patchwork.ozlabs.org/patch/591171/ Mac OS X can be picky when it comes to allowing the user to use physical devices in QEMU. Most mounted volumes appear to be off limits to QEMU. If an issue is detected, a message is displayed showing the user how to unmount a volume. Now QEMU uses both CD

Re: [Qemu-devel] [PATCH v5 0/4] Implement some QKeyCode support

2016-03-23 Thread Programmingkid
On Mar 23, 2016, at 10:37 AM, Peter Maydell wrote: > On 15 March 2016 at 17:13, Programmingkid wrote: >> This patchset adds QKeyCode support to the adb and cocoa code. >> >> Note: you do not need to be on a Mac to test out the adb.c, qapi-schema.json, >> and adb-key

[Qemu-devel] [PATCH 0/4] ADB improvements

2016-03-23 Thread Programmingkid
From 949a986e68aa575146039d4d4493dca240a84266 Mon Sep 17 00:00:00 2001 From: John Arbuckle Date: Wed, 23 Mar 2016 20:55:14 -0400 Subject: [PATCH 0/4] ADB improvements This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below.

[Qemu-devel] [PATCH 1/4] adb.c: add support for QKeyCode

2016-03-23 Thread Programmingkid
The old pc scancode translation is replaced with QEMU's QKeyCode. Signed-off-by: John Arbuckle --- hw/input/adb.c | 222 + 1 file changed, 176 insertions(+), 46 deletions(-) diff --git a/hw/input/adb.c b/hw/input/adb.c index f0ad0d4..3bfa6

[Qemu-devel] [PATCH 2/4] adb-keys.h - initial commit

2016-03-23 Thread Programmingkid
Add the adb-keys.h file. It maps ADB transition key codes with values. Signed-off-by: John Arbuckle --- include/hw/input/adb-keys.h | 147 1 file changed, 147 insertions(+) create mode 100644 include/hw/input/adb-keys.h diff --git a/include/hw/input

[Qemu-devel] [PATCH 3/4] adb.c: NO_KEY

2016-03-23 Thread Programmingkid
Sets keys that are not supported by ADB to an unusable value of 0xff. Signed-off-by: John Arbuckle --- hw/input/adb.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/hw/input/adb.c b/hw/input/adb.c index 3bfa686..8413db9 100644 --- a/hw/inpu

[Qemu-devel] [PATCH 4/4] adb.c: add power key support

2016-03-23 Thread Programmingkid
Add support for the power key. It has to be handled differently from the other keys because it is the only 16-bit value key. Signed-off-by: John Arbuckle --- hw/input/adb.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/hw/input/adb.c b/hw/i

Re: [Qemu-devel] [PATCH 1/4] adb.c: add support for QKeyCode

2016-03-24 Thread Programmingkid
On Mar 24, 2016, at 6:34 AM, Peter Maydell wrote: > On 24 March 2016 at 01:16, Programmingkid wrote: >> The old pc scancode translation is replaced with QEMU's QKeyCode. >> >> Signed-off-by: John Arbuckle >

[Qemu-devel] [PATCH v2 0/4] ADB improvements

2016-03-24 Thread Programmingkid
This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below. John Arbuckle (4): adb-keys.h - initial commit adb.c: add support for QKeyCode adb.c: NO_KEY adb.c: add power key support hw/input/adb.c | 246 ++

[Qemu-devel] [PATCH v2 1/4] adb-keys.h - initial commit

2016-03-24 Thread Programmingkid
Add the adb-keys.h file. It maps ADB transition key codes with values. Signed-off-by: John Arbuckle --- *v2 changes: Changed order of this patch. include/hw/input/adb-keys.h | 147 1 file changed, 147 insertions(+) create mode 100644 include/hw/inpu

[Qemu-devel] [PATCH v2 3/4] adb.c: NO_KEY

2016-03-24 Thread Programmingkid
Sets keys that are not supported by ADB to an unusable value of 0xff. Signed-off-by: John Arbuckle --- hw/input/adb.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/hw/input/adb.c b/hw/input/adb.c index 3bfa686..8413db9 100644 --- a/hw/inpu

[Qemu-devel] [PATCH 2/4] adb.c: add support for QKeyCode

2016-03-24 Thread Programmingkid
The old pc scancode translation is replaced with QEMU's QKeyCode. Signed-off-by: John Arbuckle --- *v2 changes Changed order of this patch. hw/input/adb.c | 222 + 1 file changed, 176 insertions(+), 46 deletions(-) diff --git a/hw/input/a

[Qemu-devel] [PATCH v2 4/4] adb.c: add power key support

2016-03-24 Thread Programmingkid
Add support for the power key. It has to be handled differently from the other keys because it is the only 16-bit value key. Signed-off-by: John Arbuckle --- hw/input/adb.c | 32 +--- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/hw/input/adb.c b/hw/i

[Qemu-devel] [PATCH v2 2/4] adb.c: add support for QKeyCode

2016-03-24 Thread Programmingkid
The old pc scancode translation is replaced with QEMU's QKeyCode. Signed-off-by: John Arbuckle --- *v2 changes Changed order of this patch. hw/input/adb.c | 222 + 1 file changed, 176 insertions(+), 46 deletions(-) diff --git a/hw/input/a

[Qemu-devel] [PATCH 0/3] Switch USB HID to QKeyCode

2016-03-25 Thread Programmingkid
This patchset switches from the PS/2 keycode to QKeyCode support in the hid.c file. John Arbuckle (3): usb-keys.h: initial commit hid.c: convert to QKeyCode hid.c: Add debug support hw/input/hid.c | 279 ++-- include/hw/input/usb-keys.h

[Qemu-devel] [PATCH 1/3] usb-keys.h: initial commit

2016-03-25 Thread Programmingkid
Create an emum of all the USB HID keyboard values. Signed-off-by: John Arbuckle --- include/hw/input/usb-keys.h | 154 1 file changed, 154 insertions(+) create mode 100644 include/hw/input/usb-keys.h diff --git a/include/hw/input/usb-keys.h b/includ

[Qemu-devel] [PATCH 2/3] hid.c: convert to QKeyCode

2016-03-25 Thread Programmingkid
Switches hid.c from PS/2 to QKeyCode support. Signed-off-by: John Arbuckle --- hw/input/hid.c | 270 ++--- 1 file changed, 179 insertions(+), 91 deletions(-) diff --git a/hw/input/hid.c b/hw/input/hid.c index 5912677..329a27b 100644 --- a/hw/i

[Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-25 Thread Programmingkid
Add debug macros to the code for easier debugging. Signed-off-by: John Arbuckle --- hw/input/hid.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/input/hid.c b/hw/input/hid.c index 329a27b..42ca592 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -37,6 +37,13 @@ #define

Re: [Qemu-devel] [PATCH 3/3] hid.c: Add debug support

2016-03-27 Thread Programmingkid
On Mar 26, 2016, at 2:48 AM, Alex Bennée wrote: > > Programmingkid writes: > >> Add debug macros to the code for easier debugging. >> >> Signed-off-by: John Arbuckle >> --- >> hw/input/hid.c | 11 +++ >> 1 file changed, 11 insertions(+)

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-31 Thread Programmingkid
On May 31, 2016, at 10:00 AM, Daniel P. Berrange wrote: > On Fri, May 20, 2016 at 04:43:51PM -0600, Eric Blake wrote: >> On 05/20/2016 01:15 PM, Programmingkid wrote: >>> Noticed this bug after a 'git pull'. My repo is at commit >>> 65603e2fc18b48e6e55a3d

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-31 Thread Programmingkid
On May 31, 2016, at 10:51 AM, Daniel P. Berrange wrote: > On Tue, May 31, 2016 at 10:25:20AM -0400, Programmingkid wrote: >> >> On May 31, 2016, at 10:00 AM, Daniel P. Berrange wrote: >> >>> On Fri, May 20, 2016 at 04:43:51PM -0600, Eric Blake wrote: >>>&

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-06-02 Thread Programmingkid
On May 31, 2016, at 12:00 PM, Daniel P. Berrange wrote: > On Tue, May 31, 2016 at 11:48:45AM -0400, Programmingkid wrote: >> >> On May 31, 2016, at 10:51 AM, Daniel P. Berrange wrote: >>>> gcc-4.9 -I/opt/local/include/pixman-1 >>>> -I/Users/john/Documents

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-06-03 Thread Programmingkid
On Jun 2, 2016, at 1:06 PM, Daniel P. Berrange wrote: > On Thu, Jun 02, 2016 at 01:01:46PM -0400, Programmingkid wrote: >> >> On May 31, 2016, at 12:00 PM, Daniel P. Berrange wrote: >> >>> On Tue, May 31, 2016 at 11:48:45AM -0400, Programmingkid wrote: >>&

[Qemu-devel] Cocoa front-end not displaying guest anymore

2016-06-04 Thread Programmingkid
When I start qemu-system-ppc, the OpenBIOS screen is not displayed. If I switch to the serial console and then back to the VGA console, I see this message on the screen: "Guest has not initialized the display (yet)." Command-line used: ./ppc-softmmu/qemu-system-ppc Using this commit: commit 6b

[Qemu-devel] PowerPC SMP

2016-06-06 Thread Programmingkid
You know how if you try to specify more than one CPU with -smp you see this message: qemu-system-ppc: Number of SMP CPUs requested (2) exceeds max CPUs supported by machine 'mac99' (1) Is there any reason why the PowerPC emulator can't support smp?

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC 06/16] vl: move smp parsing to machine pre_init

2016-06-14 Thread Programmingkid
On Jun 14, 2016, at 7:39 AM, qemu-ppc-requ...@nongnu.org wrote: > On 13/06/2016 22:35, Andrew Jones wrote: >> On Mon, Jun 13, 2016 at 07:04:01PM +0200, Paolo Bonzini wrote: >>> On 10/06/2016 19:40, Andrew Jones wrote: +if (sockets == -1 || cores == -1 || threads == -1 || +ma

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC 06/16] vl: move smp parsing to machine pre_init

2016-06-14 Thread Programmingkid
On Jun 14, 2016, at 5:13 PM, BALATON Zoltan wrote: > On Tue, 14 Jun 2016, Programmingkid wrote: >> On Jun 14, 2016, at 7:39 AM, qemu-ppc-requ...@nongnu.org wrote: >>> smp_cores is only used by pseries and x86 machines. I expect machines >>> that must be single-sock

[Qemu-devel] [PATCH] ppc: Improve emulation of THRM registers

2016-06-19 Thread Programmingkid
On Jun 19, 2016, at 12:12 AM, qemu-devel-requ...@nongnu.org wrote: > Message: 5 > Date: Sun, 19 Jun 2016 10:54:13 +1000 > From: Benjamin Herrenschmidt > To: qemu-...@nongnu.org > Cc: qemu-devel@nongnu.org, da...@gibson.dropbear.id.au, Mark > Cave-Ayland , Alexander Graf > > Subj

Re: [Qemu-devel] [PATCH v3 0/5] ADB improvements

2016-05-16 Thread Programmingkid
On May 16, 2016, at 2:09 PM, Peter Maydell wrote: > On 6 May 2016 at 03:33, Programmingkid wrote: >> This patch series makes several improvements to the ADB code. To test this >> code, >> please implement the patches in the order below. >> >> John Arbuckle (5

Re: [Qemu-devel] [PATCH v3 3/5] adb.c: correct several key assignments

2016-05-16 Thread Programmingkid
On May 16, 2016, at 2:04 PM, Peter Maydell wrote: > On 6 May 2016 at 03:37, Programmingkid wrote: >> The original pc_to_adb_keycode mapping did have several keys that were >> incorrectly mapped. This patch fixes these mappings. >> >> Signed-off-by: John Arbuckle &g

Re: [Qemu-devel] [PATCH v3 3/5] adb.c: correct several key assignments

2016-05-16 Thread Programmingkid
On May 16, 2016, at 4:48 PM, Peter Maydell wrote: > On 16 May 2016 at 21:42, Programmingkid wrote: >> >> On May 16, 2016, at 2:04 PM, Peter Maydell wrote: >> >>> On 6 May 2016 at 03:37, Programmingkid wrote: >>>> /* ADB_KEY_RIGHT_COMMAND works

[Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-20 Thread Programmingkid
Noticed this bug after a 'git pull'. My repo is at commit 65603e2fc18b48e6e55a3dd693669413141694ec - tci: do not include exec/exec-all.h I am building QEMU on Mac OS 10.6 with GCC 4.9. Here is the full message: LINK qemu-nbd Undefined symbols for architecture x86_64: "_nettle_cast5_set_key"

[Qemu-devel] [PATCH v4 0/5] ADB improvements

2016-05-20 Thread Programmingkid
This patch series makes several improvements to the ADB code. To test this code, please implement the patches in the order below. John Arbuckle (5): adb-keys.h: initial commit adb.c: add support for QKeyCode adb.c: correct several key assignments adb.c: prevent NO_KEY value from going to g

[Qemu-devel] [PATCH v4 1/5] adb-keys.h: initial commit

2016-05-20 Thread Programmingkid
Add the adb-keys.h file. It maps ADB transition key codes with values. Signed-off-by: John Arbuckle --- *v4 changes: Replaced ADB_KEY_LEFT_COMAND and ADB_KEY_RIGHT_COMAND with ADB_KEY_COMMAND. *v3 changes: Removed note. *v2 changes: Changed order of this patch. include/hw/input/adb-keys.h | 1

[Qemu-devel] [PATCH v4 2/5] adb.c: add support for QKeyCode

2016-05-20 Thread Programmingkid
The old pc scancode translation is replaced with QEMU's QKeyCode. Signed-off-by: John Arbuckle --- *v4 changes Replaced ADB_KEY_LEFT_COMMAND with ADB_KEY_COMMAND. Removed ADB_KEY_RIGHT_COMMAND comment. *v3 changes Kept original pc_to_adb_keycode mapping. *v2 changes Changed order of this patch.

[Qemu-devel] [PATCH v4 3/5] adb.c: correct several key assignments

2016-05-20 Thread Programmingkid
The original pc_to_adb_keycode mapping did have several keys that were incorrectly mapped. This patch fixes these mappings. Signed-off-by: John Arbuckle --- v4 changes: Removed NO_KEY related code. Kept all the "= 0" code near the end of the qcode_to_adb_keycode. hw/input/adb.c | 12 ++-

[Qemu-devel] [PATCH v4 5/5] adb.c: add power key support

2016-05-20 Thread Programmingkid
Add support for the power key. Signed-off-by: John Arbuckle --- v4 changes Removed double-quote from end of comment. Removed debug printf statement. v3 change Add several suggested comments. Moved the location of an else statement in the adb_keyboard_event() function. hw/input/adb.c | 43 +

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-20 Thread Programmingkid
On May 20, 2016, at 6:43 PM, Eric Blake wrote: > On 05/20/2016 01:15 PM, Programmingkid wrote: >> Noticed this bug after a 'git pull'. My repo is at commit >> 65603e2fc18b48e6e55a3dd693669413141694ec - >> tci: do not include exec/exec-all.h >> >> I a

[Qemu-devel] [PATCH v4 4/5] adb.c: prevent NO_KEY value from going to guest

2016-05-20 Thread Programmingkid
The NO_KEY value should not be sent to the guest. This patch drops that value. Signed-off-by: John Arbuckle --- v4 changes: Added NO_KEY related code to this patch. Added removal of "= 0" code near end of qcode_to_adb_keycode. hw/input/adb.c | 23 --- 1 file changed, 8 inser

Re: [Qemu-devel] [PATCH v4 0/5] ADB improvements

2016-05-20 Thread Programmingkid
On May 20, 2016, at 6:48 PM, Peter Maydell wrote: > On 20 May 2016 at 23:38, Programmingkid wrote: >> This patch series makes several improvements to the ADB code. To test this >> code, >> please implement the patches in the order below. >> >> John Arbuckle (5

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-20 Thread Programmingkid
On May 20, 2016, at 6:50 PM, Eric Blake wrote: > On 05/20/2016 04:46 PM, Programmingkid wrote: >>>> Undefined symbols for architecture x86_64: >>>> "_nettle_cast5_set_key", referenced from: >>>> _qcrypto_cipher_new in cipher.o >>

Re: [Qemu-devel] undefined symbol _nettle_cast5_set_key

2016-05-21 Thread Programmingkid
On May 21, 2016, at 9:14 AM, Peter Maydell wrote: > On 20 May 2016 at 23:43, Eric Blake wrote: >> What version of nettle are you compiling against? Obviously it's an >> older version, but is it one that we need to work around at configure >> time, or one that you should just update locally? > >

[Qemu-devel] Bug report - Windows XP guest failure

2015-05-05 Thread Programmingkid
Just wanted to note that for the i386 target, Windows XP as a guest fails to boot. When it safe mode, loading always stops at Windows\System32\Drivers\Mup.sys. The guest boots in QEMU 2.2.0, so this seems to indicate a bug with the May 5th or earlier patch set.

[Qemu-devel] Help with deadlock when using sound

2015-05-06 Thread Programmingkid
When I try to use the pcspk sound hardware, QEMU freezes and uses 100% of the cpu time. This is the command I use: qemu-system-i386 -cdrom -soundhw pcspk This looks like a deadlock situation because some unknown code called qemu_mutex_lock(). Here is the stack trace at the freeze: (gdb) bt #0

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-06 Thread Programmingkid
On May 6, 2015, at 1:00 PM, Peter Maydell wrote: > On 6 May 2015 at 17:40, Programmingkid wrote: >> (gdb) bt >> #0 0x7fff824e2db6 in semaphore_wait_trap () >> #1 0x7fff824e8417 in pthread_mutex_lock () >> #2 0x000100267199 in qemu_mutex_lock (

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-06 Thread Programmingkid
On May 6, 2015, at 5:10 PM, Peter Maydell wrote: > On 6 May 2015 at 20:41, Programmingkid wrote: >> >> On May 6, 2015, at 1:00 PM, Peter Maydell wrote: >> >>> On 6 May 2015 at 17:40, Programmingkid wrote: >>>> (gdb) bt >>>> #0

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-06 Thread Programmingkid
Here is the back trace of qemu-system-i386 after it has frozen. This time I used cocoa and coreaudio. Configuration commands: --target-list=ppc-softmmu,i386-softmmu --disable-sdl --disable-gtk --enable-debug Run commands: qemu-system-i386 -cdrom -soundhw pcs

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-06 Thread Programmingkid
On May 6, 2015, at 5:31 PM, Peter Maydell wrote: > On 6 May 2015 at 22:19, Programmingkid wrote: >> >> On May 6, 2015, at 5:10 PM, Peter Maydell wrote: >>>> Thread 8 (process 29237): >>>> #0 tb_jmp_cache_hash_func (pc=1) at exec/exec-all.h:208 >>&

Re: [Qemu-devel] Bug report - Windows XP guest failure

2015-05-07 Thread Programmingkid
On May 7, 2015, at 2:47 AM, Michael Tokarev wrote: > 07.05.2015 09:12, Michael Tokarev wrote: >> 07.05.2015 04:11, G 3 wrote: >>> Did you boot Windows XP to the desktop? I have tested Windows 95, Windows >>> 2000, and Windows XP. All of them fail to boot to the desktop. >> >> Yes, booted to des

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-10 Thread Programmingkid
On May 9, 2015, at 6:00 PM, Peter Maydell wrote: > On 9 May 2015 at 22:42, Programmingkid wrote: >> Where you able to see the new stack trace I sent? If so, any idea what could >> be wrong? > > Did you see the mail I sent where I asked you to try sending > the monitor

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-10 Thread Programmingkid
On May 10, 2015, at 10:54 AM, Paolo Bonzini wrote: > > > On 06/05/2015 18:40, Programmingkid wrote: >> When I try to use the pcspk sound hardware, QEMU freezes and uses >> 100% of the cpu time. This is the command I use: >> >> qemu-system-i386 -cdrom -sound

Re: [Qemu-devel] [PATCH v3] Fixes several full screen issues on Mac OS X

2015-05-10 Thread Programmingkid
On May 10, 2015, at 3:13 PM, Peter Maydell wrote: > On 21 January 2015 at 19:25, Programmingkid wrote: >> This patch makes several changes: >> - Minimizes distorted full screen display by respecting aspect >> ratios. >> - Makes full screen mode available on Mac OS 1

[Qemu-devel] [PATCH v4] ui/cocoa.m: Adds console items to the View menu

2015-05-10 Thread Programmingkid
This patch adds the VGA, Monitor, Serial, and Parallel menu item to the view menu. Signed-off-by: John Arbuckle --- Removed all code added in console.c. Used existing console code in place of new console code. Added several console global variables to keep track of usable consoles. Simplified

[Qemu-devel] [patch] ui/cocoa.m: Add Machine menu with pause and resume items

2015-05-10 Thread Programmingkid
Adds a Machine menu with a pause and resume menu item. Adds feature that displays the word pause on the screen when paused. Signed-off-by: John Arbuckle --- ui/cocoa.m | 79 +++- 1 files changed, 78 insertions(+), 1 deletions(-) diff --

Re: [Qemu-devel] [PATCH v4] ui/cocoa.m: Adds console items to the View menu

2015-05-11 Thread Programmingkid
On May 11, 2015, at 9:20 AM, Peter Maydell wrote: > On 11 May 2015 at 01:32, Programmingkid wrote: >> This patch adds the VGA, Monitor, Serial, and Parallel menu item to the view >> menu. >> >> Signed-off-by: John Arbuckle > >> +// set the consol

Re: [Qemu-devel] [PATCH v4] ui/cocoa.m: Adds console items to the View menu

2015-05-11 Thread Programmingkid
On May 11, 2015, at 10:33 AM, Peter Maydell wrote: > On 11 May 2015 at 15:29, Programmingkid wrote: >> >> On May 11, 2015, at 9:20 AM, Peter Maydell wrote: >>> Can't we just create a menu with an item for every console, >>> and set its menu text t

[Qemu-devel] [patch v5] ui/cocoa.m: Adds console items to the View menu

2015-05-11 Thread Programmingkid
Adds any console that is available to the current emulator as a menu item under the View menu. Signed-off-by: John Arbuckle --- Removed the initConsoleVariables() function. Removed global variables. Rewrote how console menu items are added. ui/cocoa.m | 50 ++

Re: [Qemu-devel] Bug report - Windows XP guest failure

2015-05-11 Thread Programmingkid
On May 7, 2015, at 5:34 AM, Michael Tokarev wrote: > 07.05.2015 09:47, Michael Tokarev wrote: >> 07.05.2015 09:12, Michael Tokarev wrote: >>> 07.05.2015 04:11, G 3 wrote: Did you boot Windows XP to the desktop? I have tested Windows 95, Windows 2000, and Windows XP. All of them fail to

[Qemu-devel] [patch 0/3] ui/cocoa.m: Add Machine menu

2015-05-11 Thread Programmingkid
This patch series adds a machine menu to the Macintosh interface. Patch 1/3 adds the machine menu with pause and resume menu items. Patch 2/3 adds menu items for all devices that are available. Patch 3/3 adds Reset and Power Down menu items.

[Qemu-devel] [PATCH 1/3] ui/cocoa.m: adds Machine menu with pause and resume menu items

2015-05-11 Thread Programmingkid
Adds a Machine menu to the Macintosh interface that pause and resume menu items. These items can either pause or resume execution of the guest operating system. Signed-off-by: John Arbuckle --- ui/cocoa.m | 79 1 files changed, 79 i

[Qemu-devel] [PATCH 2/3] ui/cocoa.m: Adds device menu items to Machine menu

2015-05-11 Thread Programmingkid
Adds all removable devices to the Machine menu as a Change and Eject menu item pair. ide-cd0 would have a "Change ide-cd0..." and "Eject ide-cd0" menu items. Signed-off-by: John Arbuckle --- ui/cocoa.m | 113 ++-- 1 files changed, 110

[Qemu-devel] [PATCH 3/3] ui/cocoa.m: Add Reset and Power Down menu items to Machine menu

2015-05-11 Thread Programmingkid
Adds Reset and Power Down menu items to the Machine menu. Signed-off-by: John Arbuckle --- ui/cocoa.m | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 5e558ea..2c4a61a 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -828

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-11 Thread Programmingkid
On May 10, 2015, at 10:54 AM, Paolo Bonzini wrote: > > > On 06/05/2015 18:40, Programmingkid wrote: >> When I try to use the pcspk sound hardware, QEMU freezes and uses >> 100% of the cpu time. This is the command I use: >> >> qemu-system-i386 -cdrom -sound

Re: [Qemu-devel] [patch 0/3] ui/cocoa.m: Add Machine menu

2015-05-11 Thread Programmingkid
On May 11, 2015, at 7:11 PM, Peter Crosthwaite wrote: > On Mon, May 11, 2015 at 3:08 PM, Programmingkid > wrote: >> This patch series adds a machine menu to the Macintosh interface. >> Patch 1/3 adds the machine menu with pause and resume menu items. >> Patch 2/3 adds me

Re: [Qemu-devel] [PATCH 0/6] ui/cocoa: Fix OSX 10.10 warnings (and drop 10.4 support)

2015-05-11 Thread Programmingkid
On May 10, 2015, at 6:19 PM, Peter Maydell wrote: > This patchset fixes a number of new compile warnings when building > on OSX10.10 which were not present on 10.9, which are mostly fixes > to avoid deprecated APIs. > > I've chosen to implement some of them by simply dropping the > backward-comp

Re: [Qemu-devel] [PATCH v2] Fixes key mapping so all keys work

2015-05-11 Thread Programmingkid
On May 10, 2015, at 2:45 PM, Peter Maydell wrote: > On 15 January 2015 at 21:13, Programmingkid wrote: >> Fixes keyboard mapping so right shift, right command, right option, right >> control, keypad period, keypad '=', keypad enter, and F13 all work. >>

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-12 Thread Programmingkid
On May 12, 2015, at 3:45 AM, Paolo Bonzini wrote: > On 12/05/2015 00:43, Programmingkid wrote: >> >> On May 10, 2015, at 10:54 AM, Paolo Bonzini wrote: >> >>> >>> >>> On 06/05/2015 18:40, Programmingkid wrote: >>>> When I try to

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-12 Thread Programmingkid
On May 12, 2015, at 3:45 AM, Paolo Bonzini wrote: > On 12/05/2015 00:43, Programmingkid wrote: >> >> On May 10, 2015, at 10:54 AM, Paolo Bonzini wrote: >> >>> >>> >>> On 06/05/2015 18:40, Programmingkid wrote: >>>> When I try to

Re: [Qemu-devel] Help with deadlock when using sound

2015-05-13 Thread Programmingkid
On May 13, 2015, at 5:38 AM, Peter Maydell wrote: > On 13 May 2015 at 04:23, Programmingkid wrote: >> Found out why QEMU is deadlocking. It is because a mutex that has been >> unlocked over 20 times in a row is being locked. > > OSX supports 'error checking' m

<    1   2   3   4   5   6   7   8   9   10   >