On Aug 27, 2015, at 12:13 PM, Daniel P. Berrange wrote:
> Currently both object_del and device_del require that the
> client provide the object/device short ID. While user
> creatable objects require an ID to be provided at time of
> creation, qdev devices may be created without giving an
> ID. T
On Aug 27, 2015, at 12:22 PM, Daniel P. Berrange wrote:
> On Thu, Aug 27, 2015 at 12:08:25PM -0400, Programmingkid wrote:
>>
>> On Aug 27, 2015, at 12:02 PM, Daniel P. Berrange wrote:
>>
>>> On Thu, Aug 27, 2015 at 11:58:22AM -0400, Programmingkid wrote:
>>&
Add device ID generation to each device if an ID isn't given.
An auto-generated ID will begin with an underscore character. This will
distinguish it from user-made ID's.
An user-made ID cannot begin with an underscore, so there is no
problem of collisions with auto-generated ID's.
A management
On Aug 28, 2015, at 7:50 AM, Gerd Hoffmann wrote:
> On Mo, 2015-08-24 at 15:13 -0400, Programmingkid wrote:
>> +monitor_printf(mon, " Device %d.%d, Port %s, Speed %s
>> Mb/s,"
>> +"Product %s, ID %s\n",
>&
On Aug 28, 2015, at 9:35 AM, Daniel P. Berrange wrote:
> On Fri, Aug 28, 2015 at 09:08:12AM -0400, Programmingkid wrote:
>>
>> On Aug 28, 2015, at 7:50 AM, Gerd Hoffmann wrote:
>>
>>> On Mo, 2015-08-24 at 15:13 -0400, Programmingkid wrote:
>>>> +
On Aug 28, 2015, at 9:50 AM, Gerd Hoffmann wrote:
> On Fr, 2015-08-28 at 09:39 -0400, Programmingkid wrote:
>> On Aug 28, 2015, at 9:35 AM, Daniel P. Berrange wrote:
>>
>>> On Fri, Aug 28, 2015 at 09:08:12AM -0400, Programmingkid wrote:
>>>>
>>>
On Aug 28, 2015, at 12:07 PM, Peter Maydell wrote:
> On 28 August 2015 at 14:55, Programmingkid wrote:
>> On Aug 28, 2015, at 9:50 AM, Gerd Hoffmann wrote:
>>> Even better: Don't print "ID: ..." in the first place in case it is not
>>> present.
>&g
Print the ID (if available) of each device when 'info usb' is used in the
monitor.
Signed-off-by: John Arbuckle
---
Added conditional code that only prints the ID if it is available.
hw/usb/bus.c | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/hw/usb/bus
On Aug 29, 2015, at 11:40 AM, Max Reitz wrote:
> On 27.08.2015 03:05, G 3 wrote:
>> I want to share files between my host and guest computer. A feature I
>> want to add would be a new menu item in the Machine menu called "Mount
>> Image File...". When the user selects it, a file open dialog box
>
On Aug 29, 2015, at 3:34 PM, Max Reitz wrote:
> On 29.08.2015 20:34, MagicCat Software wrote:
>>
>> On Aug 29, 2015, at 2:01 PM, Max Reitz wrote:
>>
>>> On 29.08.2015 19:36, Programmingkid wrote:
>>>>
>>>> On Aug 29, 2015, at 12:39 PM, Ma
On Aug 29, 2015, at 3:52 PM, Max Reitz wrote:
> On 29.08.2015 20:34, MagicCat Software wrote:
>>
>> On Aug 29, 2015, at 2:01 PM, Max Reitz wrote:
>
> [snip]
>
>>> User-friendliness is always expensive,
>>> difficult to maintain, and a neverending source of complaints.
>>
>> Really? It has bee
On Aug 29, 2015, at 12:39 PM, Max Reitz wrote:
> On 29.08.2015 17:57, Programmingkid wrote:
>>
>> On Aug 29, 2015, at 11:40 AM, Max Reitz wrote:
>>
>>> On 27.08.2015 03:05, G 3 wrote:
>>>> I want to share files between my host and guest computer. A
On Aug 29, 2015, at 7:12 PM, Eric Blake wrote:
> On 08/29/2015 02:18 PM, Programmingkid wrote:
>
>>>
>>> (1) 'change' always uses 'raw' as the format, but the selector
>>> apparently offers you the full range of image formats
>>> (
On Aug 29, 2015, at 7:10 PM, Eric Blake wrote:
> On 08/29/2015 01:34 PM, Max Reitz wrote:
>
Erm, well, I think I won't reply to that other than *cough* virt-manager
*cough*.
>>>
>>> Linux exclusive probably.
>>
>> Your point?
>>
>> You said applications on Linux are generally more d
The USB Start of Frame packet is sent 1000 times a second from the host to a
USB device. This packet is used to synchronize audio data being sent to a USB
sound card. On my system the Start of Frame packet is only sent about 830 times
a second. This makes audio that is played thru the USB sound
On Aug 30, 2015, at 2:47 AM, Paolo Bonzini wrote:
>
>
> On 29/08/2015 19:36, Programmingkid wrote:
>>>> Mac OS X is a second-class citizen in the QEMU world...
>>>
>>> Might have to do something with most (?) of it being non-free and Apple
>>>
On Aug 31, 2015, at 3:52 AM, Markus Armbruster wrote:
> Programmingkid writes:
>
>> On Aug 29, 2015, at 12:39 PM, Max Reitz wrote:
>>
>>> On 29.08.2015 17:57, Programmingkid wrote:
>>>>
>>>> On Aug 29, 2015, at 11:40 AM, Max Reitz wrote:
&
On Aug 31, 2015, at 12:26 PM, Markus Armbruster wrote:
> Programmingkid writes:
>
>> On Aug 31, 2015, at 3:52 AM, Markus Armbruster wrote:
>>
>>> Programmingkid writes:
>>>
>>>> On Aug 29, 2015, at 12:39 PM, Max Reitz wrote:
>&
On Aug 29, 2015, at 12:39 PM, Max Reitz wrote:
> On 29.08.2015 17:57, Programmingkid wrote:
>>
>> On Aug 29, 2015, at 11:40 AM, Max Reitz wrote:
>>
>>> On 27.08.2015 03:05, G 3 wrote:
>>>> I want to share files between my host and guest computer. A
On Aug 31, 2015, at 4:26 PM, Max Reitz wrote:
> On 31.08.2015 22:13, Programmingkid wrote:
>>
>> On Aug 29, 2015, at 12:39 PM, Max Reitz wrote:
>>
>>> On 29.08.2015 17:57, Programmingkid wrote:
>>>>
>>>> On Aug 29, 2015, at 11:40 AM, Max R
Is there a function that can execute a qmp command in QEMU?
On Sep 1, 2015, at 2:19 AM, Markus Armbruster wrote:
> Programmingkid writes:
>
>> Is there a function that can execute a qmp command in QEMU?
>
> Sure you want to do that, and not call the C interface instead? Let me
> explain how QMP works:
>
> * QMP core
On Sep 1, 2015, at 8:34 AM, Kevin Wolf wrote:
> Am 27.08.2015 um 14:32 hat Jeff Cody geschrieben:
>> I'm not married to the ID generation scheme I proposed.
>>
>> What I am trying to do, however, is have a technical discussion on
>> generating an ID in a well-formed manner. And hopefully, in
On Sep 1, 2015, at 10:43 AM, Kevin Wolf wrote:
> Am 01.09.2015 um 16:18 hat Programmingkid geschrieben:
>>
>> On Sep 1, 2015, at 8:34 AM, Kevin Wolf wrote:
>>
>>> Am 27.08.2015 um 14:32 hat Jeff Cody geschrieben:
>>>> I'm not married to the ID ge
On Sep 1, 2015, at 11:55 AM, Eric Blake wrote:
> On 09/01/2015 07:23 AM, Daniel P. Berrange wrote:
>
+Remove device @var{id}. @var{id} may be a short ID
+or a QOM object path.
>>>
>>> Have you considered using two alternative parameters, id and qom-path?
>>> (qom_path was used elsewhe
Add "Mount Image File..." and a "Eject Image File" menu items to
cocoa interface. This patch makes sharing files between the
host and the guest user-friendly.
The "Mount Image File..." menu item displays a dialog box having the
user pick an image file to use in QEMU. The image file is setup as
a U
On Sep 2, 2015, at 10:31 AM, Max Reitz wrote:
> On 31.08.2015 22:33, Programmingkid wrote:
>>
>> On Aug 31, 2015, at 4:26 PM, Max Reitz wrote:
>
> [snip]
>
>>> The following works for me:
>>>
>>> $ echo foo > bar
>>> $ x86
Make physical devices like a USB flash drive or a CDROM drive work in QEMU. With
this patch I can use a USB flash drive like a hard drive. Before this patch,
QEMU would just quit with a message like "resource busy". Now it handles issues
like these for the user. This patch unmounts volumes of phys
On Jul 8, 2015, at 7:01 AM, Kevin Wolf wrote:
> Am 08.07.2015 um 12:47 hat Laurent Vivier geschrieben:
>>
>>
>> On 08/07/2015 12:31, Kevin Wolf wrote:
>>> Am 02.07.2015 um 16:18 hat Laurent Vivier geschrieben:
On 02/07/2015 16:03, Paolo Bonzini wrote:
>
>
> On 02/
On Jul 8, 2015, at 9:11 AM, Kevin Wolf wrote:
> Am 08.07.2015 um 14:56 hat Programmingkid geschrieben:
>>
>> On Jul 8, 2015, at 7:01 AM, Kevin Wolf wrote:
>>
>>> Am 08.07.2015 um 12:47 hat Laurent Vivier geschrieben:
>>>>
>>>>
>>&
On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi wrote:
> On Tue, Jul 07, 2015 at 01:33:23PM -0400, Programmingkid wrote:
>> Make physical devices like a USB flash drive or a CDROM drive work in QEMU.
>> With
>> this patch I can use a USB flash drive like a hard drive. Before
On Jul 9, 2015, at 5:35 AM, Laurent Vivier wrote:
>
>
> On 07/07/2015 19:33, Programmingkid wrote:
>> Make physical devices like a USB flash drive or a CDROM drive work in
>> QEMU. With
>> this patch I can use a USB flash drive like a hard drive. Before this
>>
On Jul 16, 2015, at 9:19 AM, Stefan Hajnoczi wrote:
> On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote:
>>
>> On Jul 9, 2015, at 6:52 AM, Stefan Hajnoczi wrote:
>>
>>> On Tue, Jul 07, 2015 at 01:33:23PM -0400, Programmingkid wrote:
>>>&
On Jul 16, 2015, at 3:43 PM, Stefan Hajnoczi wrote:
> On Thu, Jul 16, 2015 at 6:26 PM, Programmingkid
> wrote:
>>
>> On Jul 16, 2015, at 9:19 AM, Stefan Hajnoczi wrote:
>>
>>> On Thu, Jul 09, 2015 at 10:02:26AM -0400, Programmingkid wrote:
>>>
Mac OS X can be picky when it comes to allowing the user to use physical devices
in QEMU. This patch fixes that issue by testing each physical device first
before using it in QEMU. If an issue is detected, a message is displayed
showing the user how to unmount a volume.
Signed-off-by: John Arbuck
On Jul 17, 2015, at 9:41 AM, Stefan Hajnoczi wrote:
> On Thu, Jul 16, 2015 at 04:46:07PM -0400, Programmingkid wrote:
>> @@ -2014,7 +2015,9 @@ kern_return_t GetBSDPath( io_iterator_t mediaIterator,
>> char *bsdPath, CFIndex ma
>> if ( bsdPathAsCFString ) {
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.
Signed-off-by: John Arbuckle
---
Replaced strncpy with pstrcp
On Jul 20, 2015, at 8:46 AM, Laurent Vivier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
> On 20/07/2015 12:48, Stefan Hajnoczi wrote:
>> On Fri, Jul 17, 2015 at 03:24:34PM -0400, Programmingkid wrote:
>>>
>>> On Jul 17, 2015, at 9:
On Jul 13, 2014, at 12:17 PM, Alexander Graf wrote:
> While trying to get Mac OS X booting with our -M mac99 emulation I stumbled
> over a few issues that prevented it from doing so.
>
> With these patches applied I still can't properly boot Mac OS X with -M mac99,
> but I get a lot further than
On Jun 14, 2015, at 5:55 AM, Mark Cave-Ayland wrote:
> On 13/05/15 10:01, Paolo Bonzini wrote:
>
>> On 12/05/2015 09:22, Michael Tokarev wrote:
>>> 12.05.2015 04:05, Peter Crosthwaite wrote:
On Thu, May 7, 2015 at 2:34 AM, Michael Tokarev wrote:
>>> ...
>> Ok, I can reproduce this, win
On Jun 14, 2015, at 1:11 PM, Peter Maydell wrote:
> On 18 May 2015 at 17:23, Programmingkid wrote:
>> 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"
>&g
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
---
Removed depreciated code from QEMU_Alert().
Unified supported image file extensions into one array.
Repla
I have noticed a bug with the serial console. If text is printed to it that is
longer than the window size, the text is cut off instead of being wrapped
around. I have noticed this issue on QEMU 2.3.50 (just git pull'ed today). My
host operating system is Mac OS 10.6.8. Has anyone noticed this i
Fix real cdrom detection so that a real cdrom can actually be used.
signed-off-by: John Arbuckle
This patch has been tested on Mac OS X host and guest.
Command used: qemu-system-ppc -cdrom /dev/cdrom
Note: I was able to view the files using OpenBIOS, but not on
Mac OS X. The size of the disc
On Jun 23, 2015, at 2:06 PM, John Snow wrote:
>
>
> On 06/23/2015 01:56 PM, Programmingkid wrote:
>> Fix real cdrom detection so that a real cdrom can actually be used.
>>
>> signed-off-by: John Arbuckle > <mailto:programmingk...@gmail.com>>
>>
&
On Mar 1, 2016, at 5:23 PM, Gerd Hoffmann wrote:
> On Di, 2016-03-01 at 17:04 -0500, Programmingkid wrote:
>> Add kp_equals and power keys support to the QKeyCode enum of keys.
>
> Please update the documentation in the comment too, so we keep track of
> which keys where adde
On Mar 1, 2016, at 6:16 PM, Eric Blake wrote:
> On 03/01/2016 03:12 PM, Programmingkid wrote:
>> The old pc/xt keyboard keycode array is replaced with QEMU's own QKeyCode
>> layout.
>>
>> Signed-off-by: John Arbuckle
>>
>> ---
>> Maintainer
On Mar 1, 2016, at 6:18 PM, Peter Maydell wrote:
> On 1 March 2016 at 22:12, Programmingkid wrote:
>> The old pc/xt keyboard keycode array is replaced with QEMU's own QKeyCode
>> layout.
>>
>> Signed-off-by: John Arbuckle
>>
>> ---
>> Mai
On Mar 1, 2016, at 6:34 PM, Peter Maydell wrote:
> On 1 March 2016 at 22:10, Programmingkid wrote:
>> The pc_to_adb_keycode array was not very easy to work with. The replacement
>> array number_to_adb_keycode list all the element indexes on the left and its
>> value on
On Mar 1, 2016, at 7:25 PM, Eric Blake wrote:
> On 03/01/2016 05:12 PM, Programmingkid wrote:
>
>>>
>>>> +
>>>> +[MAC_KEY_ESC] = Q_KEY_CODE_ESC,
>>>> +//[MAC_KEY_F1] = Q_KEY_CODE_POWER, // Just in case you need the power
>>&g
Add kp_equals and power keys support to the QKeyCode enum of keys.
Signed-off-by: John Arbuckle
---
Added comment about kp_equals and power keys.
qapi-schema.json |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 8d04897..5cf34
This patch adds the file MacKeys.h. It is a file that contains all the constants
for the Macintosh keyboard keycodes.
Signed-off-by: John Arbuckle
---
Added standard license.
Added #ifndef #define #endif macros.
include/hw/input/MacKeys.h | 168
1
On Mar 1, 2016, at 10:16 AM, Kevin Wolf wrote:
> Am 29.02.2016 um 16:17 hat Programmingkid geschrieben:
>> I do think this patch is ready to be added to QEMU. I have listened to what
>> you said and implemented your changes.
>>
>> https://patchwork.ozlabs.org/patch/
On Mar 2, 2016, at 4:32 AM, Markus Armbruster wrote:
> Programmingkid writes:
>
>> This patch adds the file MacKeys.h. It is a file that contains all the
>> constants
>> for the Macintosh keyboard keycodes.
>>
>> Signed-off-by: John Arbuckle
>>
On Mar 2, 2016, at 7:38 AM, Peter Maydell wrote:
> On 2 March 2016 at 00:31, Programmingkid wrote:
>>
>> On Mar 1, 2016, at 6:34 PM, Peter Maydell wrote:
>>
>>> On 1 March 2016 at 22:10, Programmingkid wrote:
>>>> The pc_to_adb_keycode array was n
Add the keypad equals and power keys to the qcode_to_number array. These keys
are used on a Macintosh keyboard.
Signed-off-by: John Arbuckle
---
ui/input-keymap.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ui/input-keymap.c b/ui/input-keymap.c
index fd2c09d..8cff
On Mar 2, 2016, at 11:15 AM, Eric Blake wrote:
> On 03/02/2016 08:52 AM, Programmingkid wrote:
>> Add the keypad equals and power keys to the qcode_to_number array. These keys
>> are used on a Macintosh keyboard.
>>
>> Signed-off-by: John Arbuckle
>>
&
On Mar 2, 2016, at 11:12 AM, Gerd Hoffmann wrote:
> On Mi, 2016-03-02 at 10:52 -0500, Programmingkid wrote:
>> Add the keypad equals and power keys to the qcode_to_number array. These keys
>> are used on a Macintosh keyboard.
>>
>> Signed-off-by: John Arbuckle
>
On Mar 2, 2016, at 4:02 AM, Kevin Wolf wrote:
> Am 02.03.2016 um 04:32 hat Programmingkid geschrieben:
>>
>> On Mar 1, 2016, at 10:16 AM, Kevin Wolf wrote:
>>
>>> Am 29.02.2016 um 16:17 hat Programmingkid geschrieben:
>>>> I do think this patch is rea
On Mar 2, 2016, at 11:45 AM, Peter Maydell wrote:
> On 2 March 2016 at 15:55, Markus Armbruster wrote:
>> I'd call it mac-keys.h. mackeys.h would be okay. There's enough
>> precedence for '_' in file names to justify mac_keys.h, but I personally
>> dislike that.
>
> Calling it adb-keys.h woul
On Mar 2, 2016, at 11:45 AM, Peter Maydell wrote:
> On 2 March 2016 at 15:55, Markus Armbruster wrote:
>> I'd call it mac-keys.h. mackeys.h would be okay. There's enough
>> precedence for '_' in file names to justify mac_keys.h, but I personally
>> dislike that.
>
> Calling it adb-keys.h woul
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 and DVD media.
Signed-off-by: John Arbuckl
The old pc/xt keyboard keycode array is replaced with QEMU's own QKeyCode
layout.
Signed-off-by: John Arbuckle
---
Removed dependency on MacKeys.h.
Included Carbon.h.
Replaced MacKeys' constants with Carbon's constants.
Replaced numbers in handleEvent: with QKeyCode constants.
Maintainer note:
This patch allows for the user to use the keypad number keys to select a
console.
Signed-off-by: John Arbuckle
---
This patch depends on this patch: http://patchwork.ozlabs.org/patch/591221/
ui/cocoa.m | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/ui/cocoa.m b
On Mar 3, 2016, at 5:01 AM, Gerd Hoffmann wrote:
> On Mi, 2016-03-02 at 11:29 -0500, Programmingkid wrote:
>> On Mar 2, 2016, at 11:12 AM, Gerd Hoffmann wrote:
>>
>>> On Mi, 2016-03-02 at 10:52 -0500, Programmingkid wrote:
>>>> Add the keypad equals and pow
On Mar 3, 2016, at 3:43 AM, Peter Maydell wrote:
> On 3 March 2016 at 03:23, Programmingkid wrote:
>> *Sorry but git send-email refuses to work on my system.
>
> If you tell us in what way it doesn't work we might be able to
> help you debug/configure it. Also, even if y
On Mar 3, 2016, at 11:26 AM, Eric Blake wrote:
> On 03/02/2016 08:34 PM, Programmingkid wrote:
>> This patch allows for the user to use the keypad number keys to select a
>> console.
>>
>> Signed-off-by: John Arbuckle
>>
>> ---
>> This patch depen
On Mar 3, 2016, at 10:37 AM, Peter Maydell wrote:
> On 3 March 2016 at 15:22, Programmingkid wrote:
>>
>> On Mar 3, 2016, at 3:43 AM, Peter Maydell wrote:
>>
>>> On 3 March 2016 at 03:23, Programmingkid wrote:
>>>> *Sorry but git send-email refuses
On Mar 3, 2016, at 11:49 AM, Eric Blake wrote:
> On 03/03/2016 09:32 AM, Programmingkid wrote:
>>> I know you've expressed frustrations that you don't have 'git
>>> send-email' configured correctly; have you tried trouble-shooting it on
>>> IRC
On Mar 3, 2016, at 11:53 AM, Peter Maydell wrote:
> On 3 March 2016 at 03:34, Programmingkid wrote:
>> This patch allows for the user to use the keypad number keys to select a
>> console.
>>
>> Signed-off-by: John Arbuckle
>>
>> ---
&g
On Mar 3, 2016, at 10:49 AM, Gerd Hoffmann wrote:
> Hi,
>
>>> number is modeled after pc scancodes, so you can't just pick random
>>> numbers.
>>
>> Really? I thought the only requirement was each scancode had to be unique.
>
> No, it's not. ps2 emulation assumes those codes are the real on
This patchset adds QKeyCode support 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, then the xev command is what you could use to test out
these pa
This commit implements the adb-keys.h file. It holds information on adb keycode
values.
Signed-off-by: John Arbuckle
---
Changed name of file from MacKeys.h to adb-keys.h.
Changed name of constants from MAC_KEYS_ to ADB_KEYS_.
include/hw/input/adb-keys.h | 160 +
Add the power and keypad equal keys. These keys are found on a real Macintosh
keyboard.
Signed-off-by: John Arbuckle
---
qapi-schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 8d04897..5cf34bf 100644
--- a/qapi-schema.json
Remove the old pc_to_adb_keycode array and replace it with QKeyCode support.
Signed-off-by: John Arbuckle
---
Some of the keys do not translate as logically as we would think they would. For
example the Q_KEY_CODE_CTRL_R does not work with ADB_KEY_RIGHT_CONTROL. The
wrong key would show up in th
This patch removes the pc/xt keycode map and replaces it with the QKeyCode
keymap.
Signed-off-by: John Arbuckle
---
Removed the LARGEST_KEYCODE marco.
Changed macToQKeyCodeMap to mac_to_qkeycode_map.
ui/cocoa.m | 317 +++--
1 file changed
On Mar 5, 2016, at 7:03 PM, Eric Blake wrote:
> On 03/04/2016 10:17 PM, Programmingkid wrote:
>> Add the power and keypad equal keys. These keys are found on a real Macintosh
>> keyboard.
>>
>> Signed-off-by: John Arbuckle
>> ---
>> qapi-schema.json
On Mar 5, 2016, at 7:02 PM, Eric Blake wrote:
> On 03/04/2016 10:15 PM, Programmingkid wrote:
>> This commit implements the adb-keys.h file. It holds information on adb
>> keycode
>> values.
>>
>> Signed-off-by: John Arbuckle
>> ---
>> Chan
=== TITLE ===
Make all versions of Mac OS 9 boot successfully in QEMU with all Apple
extensions
'''Summary:''' Short description of the project
Mac OS 9.2 does boot in QEMU without extensions, but certain extensions that
ship with Mac OS 9.2 need to be disabled or else they will cause bootin
On Mar 5, 2016, at 7:02 PM, Eric Blake wrote:
> On 03/04/2016 10:15 PM, Programmingkid wrote:
>>
>
>> + *
>> + * Permission is hereby granted, free of charge, to any person obtaining a
>> copy
>> + * of this software and associated documentation files (th
Make the help menus actually work. The code will search thru three different
locations for the help file. If it can't be found, it will look on the web for
it.
Signed-off-by: John Arbuckle
---
Moved opening code to one method.
Searches three different locations on the user's computer first.
Att
On Mar 7, 2016, at 4:10 PM, Eric Blake wrote:
> On 03/06/2016 01:35 PM, Programmingkid wrote:
>>
>> On Mar 5, 2016, at 7:02 PM, Eric Blake wrote:
>>
>>> On 03/04/2016 10:15 PM, Programmingkid wrote:
>>>>
>>>
>>>> + *
>&
This patchset adds QKeyCode support 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 ou
This patch removes the pc/xt keycode map and replaces it with the QKeyCode
keymap.
Signed-off-by: John Arbuckle
---
v3 changes
Removed the LARGEST_KEYCODE marco.
Changed macToQKeyCodeMap to mac_to_qkeycode_map.
ui/cocoa.m | 317 +++--
1 fi
Add the power and keypad equal keys. These keys are found on a real Macintosh
keyboard.
Signed-off-by: John Arbuckle
---
qapi-schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 362c9d8..cbc3576 100644
--- a/qapi-schema.jso
This commit implements the adb-keys.h file. It holds information on adb keycode
values.
Signed-off-by: John Arbuckle
---
* v4 changes
Replaced an 'a' with 'an'.
Replaced __ADBKEYS__ with ADB_KEYS_H.
Added additional information comment with link.
Changed license to GNU GPL v2 or later.
* v3 chan
Remove the old pc_to_adb_keycode array and replace it with QKeyCode support.
Signed-off-by: John Arbuckle
---
Some of the keys do not translate as logically as we would think they would. For
example the Q_KEY_CODE_CTRL_R does not work with ADB_KEY_RIGHT_CONTROL. The
wrong key would show up in the
On Mar 11, 2016, at 12:12 PM, Eric Blake wrote:
> On 03/10/2016 07:28 PM, Programmingkid wrote:
>> Add the power and keypad equal keys. These keys are found on a real Macintosh
>> keyboard.
>>
>> Signed-off-by: John Arbuckle
>
> This looks unchanged from v3:
&
On Mar 11, 2016, at 12:14 PM, Eric Blake wrote:
> On 03/10/2016 07:24 PM, Programmingkid wrote:
>> This patchset adds QKeyCode support 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 f
On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
> On 11 March 2016 at 09:32, Programmingkid wrote:
>> Remove the old pc_to_adb_keycode array and replace it with QKeyCode support.
>>
>> Signed-off-by: John Arbuckle
>> ---
>> Some of the keys do not transla
On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
>
>> +}
>> +keycode = s->data[s->rptr];
>> +if (++s->rptr == sizeof(s->data)) {
>> +s->rptr = 0;
>> }
>> +s->count--;
>> +
>> +obuf[0] = keycode;
>
> You are still trying to put a two byte keycode (ADB_KEY_POWER)
On Mar 12, 2016, at 8:38 AM, Hervé Poussineau wrote:
> ADB devices must take new handler into account only when they recognize it.
> This lets operating systems probe for valid/invalid handles, to know device
> capabilities.
>
> Add a FIXME in keyboard handler, which should use a different tran
On Mar 12, 2016, at 12:44 PM, Hervé Poussineau wrote:
> Le 12/03/2016 16:24, Mark Cave-Ayland a écrit :
>> On 12/03/16 13:38, Hervé Poussineau wrote:
>>
>>> ADB devices must take new handler into account only when they recognize it.
>>> This lets operating systems probe for valid/invalid handles
I do like the idea of your patch. Every millisecond we save is a millisecond
earned. Because of formatting issues I had to fix your patch. Here is it with
all the formatting problems fixed. I did see one problem while patching:
patching file hw/input/tsc2005.c
Hunk #1 FAILED at 291.
1 out of 1 h
On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
> On 12 March 2016 at 05:40, Programmingkid wrote:
>>
>> On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
>>
>>>
>>>> +}
>>>> +keycode = s->data[s->rptr];
>>>
On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
> On 12 March 2016 at 05:40, Programmingkid wrote:
>>
>> On Mar 11, 2016, at 10:30 PM, Peter Maydell wrote:
>>
>>>
>>>> +}
>>>> +keycode = s->data[s->rptr];
>>>
On Mar 15, 2016, at 5:22 AM, Peter Maydell wrote:
> On 14 March 2016 at 23:06, Programmingkid wrote:
>> On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
>>> Also, you need to handle the power-key key-release
>>> scancode; as far as I can tell (by looking for info v
This patch removes the pc/xt keycode map and replaces it with the QKeyCode
keymap.
Signed-off-by: John Arbuckle
Reviewed-by: Peter Maydell
---
v3 changes
Removed the LARGEST_KEYCODE marco.
Changed macToQKeyCodeMap to mac_to_qkeycode_map.
ui/cocoa.m | 317 +++---
Add the power and keypad equal keys. These keys are found on a real Macintosh
keyboard.
Signed-off-by: John Arbuckle
Reviewed-by: Eric Blake
---
qapi-schema.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 362c9d8..cbc3576 100
This commit implements the adb-keys.h file. It holds information on adb keycode
values.
Signed-off-by: John Arbuckle
---
* v5 changes
Commented out the ADB_KEY_POWER because it isn't in use. It wasn't deleted
because it might be useful in the future.
Changed the additional information link to ano
401 - 500 of 1022 matches
Mail list logo