MODE_FAKED and MODE_RENAMED are not and were never used.
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 8b5f53ad26..6a36d4f7fa 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
for non-ASCII filenames.
Specification: "FAT: General overview of on-disk format" v1.03, page 31
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 62 ---
1 file changed, 29 insertions(+), 33 deletions(-)
diff --git a/block/vvfat.
first_sectors_number by offset_to_fat.
Replace faked_sectors by offset_to_rootdir.
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 70 ---
1 file changed, 43 insertions(+), 27 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 6a36d4f7fa
Specification: "FAT: General overview of on-disk format" v1.03, pages 11-13
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index e694d82df4..c1034cdd1f 100644
-
page 25
Fixes: https://bugs.launchpad.net/qemu/+bug/1599539
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index c1034cdd1f..d4664c531b 100644
--- a/block/vvfat.c
+++ b/block/vv
img convert.
Fixes: 4480e0f924a42e1db8b8cfcac4d0634dd1bb27a0
Fixes: https://bugs.launchpad.net/qemu/+bug/1599539
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 9c82371360..df24091bf6 100644
/1599539/comments/4
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 414bca6dee..5376659010 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -338,8 +338,9 @@ typedef
quot;
Specification: "FAT: General overview of on-disk format" v1.03, page 9
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 53e8faa54c..1f7f46ecea 100644
--- a/block/vvfat.c
+++ b/bl
Assume that input filename is encoded as UTF-8, so correctly create UTF-16
encoding.
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 38 ++
1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index d4664c531b
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index d3afb731b6..8b5f53ad26 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -404,9 +404,9 @@ static void init_mbr(BDRVVVFATState *s, int
eckpatch.pl, as it changes indentation only.
Hervé
Changes v1->v2:
- small changes following Kevin remarks (patches 3, 5, 6)
- use g_utf8_* functions instead of ad-hock code (patches 8 and 9)
- fix a bug with filenames starting with a dot (patch 9)
Hervé Poussineau (13):
vvfat: fix qemu-im
Specification: "FAT: General overview of on-disk format" v1.03, page 23
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 5376659010..53e8faa54c 100644
--- a/block/vvfat.c
+
Le 16/05/2017 à 16:39, Kevin Wolf a écrit :
Am 15.05.2017 um 22:31 hat Hervé Poussineau geschrieben:
Specification: "FAT: General overview of on-disk format" v1.03, page 11
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 10 +-
1 file changed, 5 insertions(+), 5 deletion
Le 16/05/2017 à 16:16, Kevin Wolf a écrit :
Am 15.05.2017 um 22:31 hat Hervé Poussineau geschrieben:
- offset_to_bootsector is the number of sectors up to FAT bootsector
- offset_to_fat is the number of sectors up to first File Allocation Table
- offset_to_root_dir is the number of sectors up
Le 16/05/2017 à 15:21, Kevin Wolf a écrit :
Am 15.05.2017 um 22:31 hat Hervé Poussineau geschrieben:
@@ -806,7 +806,7 @@ static int read_directory(BDRVVVFATState* s, int
mapping_index)
(ROOT_ENTRIES - cur) * sizeof(direntry_t));
}
- /* reget the mapping, since s
for non-ASCII filenames.
Specification: "FAT: General overview of on-disk format" v1.03, page 31
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 67 +++
1 file changed, 35 insertions(+), 32 deletions(-)
diff --git a/block/vvfat.
first_sectors_number by offset_to_fat.
Replace faked_sectors by offset_to_rootdir.
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 67 +++
1 file changed, 40 insertions(+), 27 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 4f4a63c03f
img convert.
Fixes: 4480e0f924a42e1db8b8cfcac4d0634dd1bb27a0
Fixes: https://bugs.launchpad.net/qemu/+bug/1599539
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index af5153d27d..dfa2a242e1 100644
quot;
Specification: "FAT: General overview of on-disk format" v1.03, page 9
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index f96034cda1..b321065060 100644
--- a/block/vvfat.c
+++ b/bl
This was a complete mess. On 2299 indented lines:
- 1329 were with spaces only
- 617 with tabulations only
- 353 with spaces and tabulations
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 2054 -
1 file changed, 1027 insertions
page 25
Fixes: https://bugs.launchpad.net/qemu/+bug/1599539
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 348cffe1c4..7da07068b8 100644
--- a/block/vvfat.c
+++ b/block/vv
/7153935/how-to-convert-utf-8-stdstring-to-utf-16-stdwstring
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 132 ++
1 file changed, 97 insertions(+), 35 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 7da07068b8
).
Fixes: https://bugs.launchpad.net/qemu/+bug/1599539/comments/4
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 98978df404..7b21d6bb21 100644
--- a/block/vvfat.c
Specification: "FAT: General overview of on-disk format" v1.03, page 23
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 7b21d6bb21..f96034cda1 100644
--- a/block/vvfat.c
+
Specification: "FAT: General overview of on-disk format" v1.03, page 11
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index f60d2a3889..348cffe1c4 100644
--- a/block/vvf
neral overview of on-disk format" v1.03, pages 30/31
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 84 +++
1 file changed, 56 insertions(+), 28 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 5f6356c834..37cfaa8
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 002bd86e42..57f2489689 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -404,9 +404,9 @@ static void init_mbr(BDRVVVFATState *s, int
eckpatch.pl, as it changes indentation only.
Hervé
Hervé Poussineau (13):
vvfat: fix qemu-img map and qemu-img convert
vvfat: replace tabs by 8 spaces
vvfat: fix typos
vvfat: rename useless enumeration values
vvfat: introduce offset_to_bootsector, offset_to_fat and
offset_to_root_d
MODE_FAKED and MODE_RENAMED are not and were never used.
Signed-off-by: Hervé Poussineau
---
block/vvfat.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 57f2489689..4f4a63c03f 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
Le 08/05/2017 à 22:57, Eduardo Habkost a écrit :
To make it consistent with the remaining soundhw.c functions and
avoid confusion with the audio_init() function in audio/audio.c,
rename audio_init() to soundhw_init().
Signed-off-by: Eduardo Habkost
You should probably add a patch before 1/3 t
Le 08/05/2017 à 22:57, Eduardo Habkost a écrit :
All the functions in hw/audio/audio.h are called "soundhw_*()"
and live in hw/audio/audiohw.c. Rename the header file for
consistency.
Signed-off-by: Eduardo Habkost
Reviewed-by: Hervé Poussineau
---
Changes v2 -> v3:
* Updat
Le 08/05/2017 à 22:49, Eduardo Habkost a écrit :
Hi,
I stumbled upon this code while working on arch_init.c cleanups:
On Thu, Dec 29, 2016 at 11:12:16PM +0100, Hervé Poussineau wrote:
[...]
+static void ibm_40p_init(MachineState *machine)
+{
[...]
+/* initialize audio subsystem
Hi Rolando,
Le 19/04/2017 à 19:45, Rolando Zappacosta a écrit :
Public bug reported:
Hi guys,
I'm getting this qemu crash message:
qemu-system-x86_64: /build/qemu-TziMIO/qemu-2.5+dfsg/block/vvfat.c:2290: commit_direntries:
Assertion `!strncmp(s->directory.pointer, "QEMU", 4)' failed.
Aborted
Le 14/03/2017 à 18:11, Yongbok Kim a écrit :
Signed-off-by: Yongbok Kim
Reviewed-by: Hervé Poussineau
---
hw/dma/rc4030.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index 8ad97f1..4dbb4fd 100644
--- a/hw/dma/rc4030.c
+++ b/hw/dma
Ping again.
Le 26/02/2017 à 20:19, Hervé Poussineau a écrit :
Ping again.
Le 22/02/2017 à 07:19, Hervé Poussineau a écrit :
Ping?
Le 18/11/2016 à 23:43, Hervé Poussineau a écrit :
This simplifies the code a lot, and this fixes big memory leaks
introduced in
Le 09/03/2017 à 09:38, Gerd Hoffmann a écrit :
Add two new registers to the qemu extended register range, carrying the
suggested width and height of the display device. In case the xres and
yres properties are set, fill these new registers accordingly.
Additionally guest driver updates are need
Ping?
Le 20/02/2017 à 21:41, Hervé Poussineau a écrit :
In commit af6bf1328ef90fae617857c02697e0174b84d596 (May 2011),
ide-hd, ide-cd and scsi-cd have been added to disable default cdrom,
"or else you can't put one on secondary master without -nodefaults".
Make it the same for
Ping again.
Le 22/02/2017 à 07:19, Hervé Poussineau a écrit :
Ping?
Le 18/11/2016 à 23:43, Hervé Poussineau a écrit :
This simplifies the code a lot, and this fixes big memory leaks
introduced in a3d586f704609a45b6037534cb2f34da5dfd8895
Windows NT is now able to boot without using gigabytes
Ping?
Le 18/11/2016 à 23:43, Hervé Poussineau a écrit :
This simplifies the code a lot, and this fixes big memory leaks
introduced in a3d586f704609a45b6037534cb2f34da5dfd8895
Windows NT is now able to boot without using gigabytes of ram on the host.
Signed-off-by: Hervé Poussineau
---
hw
changed, 14 insertions(+), 14 deletions(-)
Reviewed-by: Hervé Poussineau
rom device will disappear instead of being empty.
Signed-off-by: Hervé Poussineau
---
vl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vl.c b/vl.c
index 27d9829..4af95b3 100644
--- a/vl.c
+++ b/vl.c
@@ -226,6 +226,7 @@ static struct {
{ .driver = "ide-hd",
Le 12/02/2017 à 22:15, Artyom Tarasenko a écrit :
On Thu, Feb 2, 2017 at 6:13 AM, David Gibson
wrote:
From: Hervé Poussineau
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PR
Hi,
Le 09/01/2017 à 14:48, Paolo Bonzini a écrit :
On 09/01/2017 13:49, Markus Armbruster wrote:
Hervé Poussineau writes:
'ide-hd', 'ide-cd' and 'scsi-cd' devices already disable default cdrom.
Make it the same for 'scsi-hd'.
That way, we can add/r
insertions(+), 5 deletions(-)
Reviewed-by: Hervé Poussineau
Le 13/01/2017 à 13:23, Mark Cave-Ayland a écrit :
OpenBIOS doesn't support PReP boot partitions (type 0x41) nor PReP
kernels so this is a no-go yet.
Just out of interest, is it just the PReP boot partition support that is
missing from OpenBIOS? If so, that should be fairly easy to implement if
Le 11/01/2017 à 17:58, Artyom Tarasenko a écrit :
Hi Hervé,
nice work!
On Thu, Dec 29, 2016 at 11:12 PM, Hervé Poussineau wrote:
Hi,
This patchset adds the emulation of the IBM RS/6000 7020 (40p). The real
machine is
able to run AIX (up to 4.3.3), Windows NT (up to 4.0 SP1), the beta of OS
Signed-off-by: Hervé Poussineau
---
MAINTAINERS | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 1444b26..f4b02ab 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -657,10 +657,13 @@ F: hw/misc/macio/
F: hw/intc/heathrow_pic.c
PReP
+M: Hervé
Le 10/01/2017 à 04:14, Michael S. Tsirkin a écrit :
On Tue, Jan 03, 2017 at 10:01:25AM +1100, David Gibson wrote:
On Thu, Dec 29, 2016 at 11:12:11PM +0100, Hervé Poussineau wrote:
This is in fact a split of pci_vga_init() function in two parts.
Signed-off-by: Hervé Poussineau
Reviewed-by
Le 09/01/2017 à 13:25, Thomas Huth a écrit :
Hi,
On 07.01.2017 16:23, Hervé Poussineau wrote:
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.
Signed-off-by: Hervé
to read.
This should fix Coverity issues 1307765, 1307766, 1307767, 1307768.
(To avoid having a ctda read function only used in a DPRINTF,
we move the DPRINTF down slightly so it can use the ttda function.)
Signed-off-by: Peter Maydell
Reviewed-by: Hervé Poussineau
: Hervé Poussineau
Signed-off-by: Hervé Poussineau
Reviewed-by: David Gibson
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/Makefile.objs| 1 +
hw/ppc/rs6000_mc.c | 232
hw/ppc/trace-events | 7 ++
4 files changed, 241
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/prep.c
6000/technology/spec/srp1_1.exe
section 6.1.5 (I/O Device Mapping)
Signed-off-by: Hervé Poussineau
Reviewed-by: David Gibson
---
hw/ppc/Makefile.objs | 1 +
hw/ppc/prep_systemio.c | 303 +
hw/ppc/trace-events| 4 +
3 files changed,
ostly works with Open Hack'Ware and OpenBIOS
- various changes due to David Gibson's remarks
Hervé Poussineau (4):
prep: do not use global variable to access nvram
prep: add PReP System I/O
prep: add IBM RS/6000 7020 (40p) memory controller
prep: add IBM RS/6000 7020 (40p) machine emul
Signed-off-by: Hervé Poussineau
---
hw/ppc/prep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index 054af1e..9fb89d3 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -339,13 +339,13 @@ static PortioList prep_port_list;
/* NVRAM helpers
Le 06/01/2017 à 00:21, David Gibson a écrit :
On Thu, Jan 05, 2017 at 10:56:57PM +0100, Hervé Poussineau wrote:
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.
Sig
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/Makefile.objs| 1 +
hw/ppc/rs6000_mc.c | 232
hw/ppc/trace-events | 7 ++
4 files changed, 241 insertions(+)
create mode 100644
Signed-off-by: Hervé Poussineau
---
hw/ppc/prep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index 054af1e..9fb89d3 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -339,13 +339,13 @@ static PortioList prep_port_list;
/* NVRAM helpers
6000/technology/spec/srp1_1.exe
section 6.1.5 (I/O Device Mapping)
Signed-off-by: Hervé Poussineau
---
hw/ppc/Makefile.objs | 1 +
hw/ppc/prep_systemio.c | 309 +
hw/ppc/trace-events| 4 +
3 files changed, 314 insertions(+)
create mod
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/prep.c
ved patches related to display adapter:
Let's wait for an emulation of the real display adapter (an S3 Trio), as
current
VGA adapter already mostly works with Open Hack'Ware and OpenBIOS
- various changes due to David Gibson's remarks
Hervé Poussineau (4):
prep: do not use glo
Le 05/01/2017 à 01:41, David Gibson a écrit :
On Wed, Jan 04, 2017 at 10:17:10PM +0100, Hervé Poussineau wrote:
Le 03/01/2017 à 05:45, David Gibson a écrit :
On Thu, Dec 29, 2016 at 11:12:14PM +0100, Hervé Poussineau wrote:
Part of the functionality is copied from hw/ppc/prep.c.
Also add
Le 03/01/2017 à 05:45, David Gibson a écrit :
On Thu, Dec 29, 2016 at 11:12:14PM +0100, Hervé Poussineau wrote:
Part of the functionality is copied from hw/ppc/prep.c.
Also add support for board identification/equipment registers.
Signed-off-by: Hervé Poussineau
---
hw/ppc/Makefile.objs
Le 04/01/2017 à 09:50, Gerd Hoffmann a écrit :
On Mi, 2016-12-28 at 04:55 +0900, OGAWA Hirofumi wrote:
With "ps2: use QEMU qcodes instead of scancodes", key handling was
changed to qcode base. But all scancodes are not converted to new one.
This adds some missing qcodes/scancodes what I found i
Le 03/01/2017 à 05:57, David Gibson a écrit :
On Thu, Dec 29, 2016 at 11:12:15PM +0100, Hervé Poussineau wrote:
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/Makefile.objs| 1 +
hw/ppc/rs6000_mc.c | 232
Le 03/01/2017 à 00:03, David Gibson a écrit :
On Thu, Dec 29, 2016 at 11:12:14PM +0100, Hervé Poussineau wrote:
Part of the functionality is copied from hw/ppc/prep.c.
Also add support for board identification/equipment registers.
Needs more detail in the commit message. What is system I/O
Le 03/01/2017 à 00:02, David Gibson a écrit :
On Thu, Dec 29, 2016 at 11:12:12PM +0100, Hervé Poussineau wrote:
VGA device registers vram as BAR 0. If this BAR is activated as a very low
address which
crosses 0xa-0xb, low memory region is not accessible anymore.
This fixes display on
nodefaults
Signed-off-by: Hervé Poussineau
---
ui/gtk.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index a216216..406de4f 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -2171,6 +2171,8 @@ static gboolean gtkinit;
void gtk_display_init(DisplayState
'ide-hd', 'ide-cd' and 'scsi-cd' devices already disable default cdrom.
Make it the same for 'scsi-hd'.
That way, we can add/replace the device on lun=2 without using -nodefaults.
Signed-off-by: Hervé Poussineau
---
vl.c | 1 +
1 file changed, 1 inse
Part of the functionality is copied from hw/ppc/prep.c.
Also add support for board identification/equipment registers.
Signed-off-by: Hervé Poussineau
---
hw/ppc/Makefile.objs | 1 +
hw/ppc/prep_systemio.c | 302 +
hw/ppc/trace-events| 4
and that operating system list running on it is quite wide.
I hope that 'prep' machine can be deprecated soon and then later removed.
Patches 1 to 3 are cleanups, and can probably be committed first.
Patches 4 to 6 are the real implementation of the IBM 40p.
Hervé Poussineau (6):
pc
VGA device registers vram as BAR 0. If this BAR is activated as a very low
address which
crosses 0xa-0xb, low memory region is not accessible anymore.
This fixes display on PReP machine if we enable PCI mapping at address 0.
Signed-off-by: Hervé Poussineau
---
hw/display/vga.c | 2
Machine supports both Open Hack'Ware and OpenBIOS.
Open Hack'Ware is the default because OpenBIOS is currently unable to boot
PReP boot partitions or PReP kernels.
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/prep.c
Signed-off-by: Hervé Poussineau
---
default-configs/ppc-softmmu.mak | 1 +
hw/ppc/Makefile.objs| 1 +
hw/ppc/rs6000_mc.c | 232
hw/ppc/trace-events | 7 ++
4 files changed, 241 insertions(+)
create mode 100644
Signed-off-by: Hervé Poussineau
---
hw/ppc/prep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index 054af1e..9fb89d3 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -339,13 +339,13 @@ static PortioList prep_port_list;
/* NVRAM helpers
This is in fact a split of pci_vga_init() function in two parts.
Signed-off-by: Hervé Poussineau
---
hw/pci/pci.c | 22 --
include/hw/pci/pci.h | 1 +
2 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 24fae16..0d5a862
ned-off-by: OGAWA Hirofumi
Reviewed-by: Hervé Poussineau
Le 23/12/2016 à 23:49, OGAWA Hirofumi a écrit :
Hi,
Hervé Poussineau writes:
[from ui/input-keymap.c]
[Q_KEY_CODE_RO] = 0x73,
+[Q_KEY_CODE_HIRAGANA] = 0x70,
+[Q_KEY_CODE_HENKAN] = 0x79,
+[Q_KEY_CODE_YEN] = 0x7d,
[Q_KEY_CODE_KP_COMMA] = 0x7e,
[Q_KEY_CODE__MAX] = 0
Le 23/12/2016 à 14:00, OGAWA Hirofumi a écrit :
With "ps2: use QEMU qcodes instead of scancodes", key handling was
changed to qcode base. But all scancodes are not converted to new one.
This adds some missing qcodes what I found in using.
Signed-off-by: OGAWA Hirofumi
---
hw/input/ps2.c
ned-off-by: Hervé Poussineau
---
hw/net/rtl8139.c | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c
index f05e59c..671c7e4 100644
--- a/hw/net/rtl8139.c
+++ b/hw/net/rtl8139.c
@@ -1205,6 +1205,20 @@ s
The blocksize option is defined in RFC 1783.
We now support block sizes between 1 and 1432 bytes, instead of 512 only.
Signed-off-by: Hervé Poussineau
---
slirp/tftp.c | 26 ++
slirp/tftp.h | 8 +---
2 files changed, 19 insertions(+), 15 deletions(-)
diff --git a
This simplifies the code a lot, and this fixes big memory leaks
introduced in a3d586f704609a45b6037534cb2f34da5dfd8895
Windows NT is now able to boot without using gigabytes of ram on the host.
Signed-off-by: Hervé Poussineau
---
hw/dma/rc4030.c | 158
This fixes SCSI adapter self-tests done in MIPS Jazz emulation,
broken since ff589551c8e8e9e95e211b9d8daafb4ed39f1aec.
Signed-off-by: Hervé Poussineau
---
hw/scsi/esp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c
index 1f2f2d3..5a5a4e9 100644
--- a/hw/scsi
Le 16/11/2016 à 07:29, P J P a écrit :
+-- On Wed, 16 Nov 2016, Hervé Poussineau wrote --+
| I don't have any datasheet for this device either, so I tested with real
| programs. Those initialize itr field to either 0 or to 9, so your mask
| doesn't change anything.
|
| Tested
don't have any datasheet for this device either, so I tested with real
programs.
Those initialize itr field to either 0 or to 9, so your mask doesn't change
anything.
Tested-by: Hervé Poussineau
Also, s->itr is used here:
tm_hz = 1000 / (s->itr + 1);
t
patches:
Tested-by: Hervé Poussineau
For convenience, this branch is available at:
https://github.com/jnsnow/qemu.git branch ide-fix-read-cd
https://github.com/jnsnow/qemu/tree/ide-fix-read-cd
This version is tagged
Le 29/10/2016 à 00:32, John Snow a écrit :
For the purposes of byte_count_limit verification, add a new flag that
identifies read_cd as sometimes returning data, then check the BCL in
its command handler after we know that it will indeed return data.
Reported-by: Hervé Poussineau
Signed-off-by
: Hervé Poussineau
---
hw/input/adb.c | 26 +++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/hw/input/adb.c b/hw/input/adb.c
index 3d39368..43d3205 100644
--- a/hw/input/adb.c
+++ b/hw/input/adb.c
@@ -396,9 +396,15 @@ static int adb_kbd_request(ADBDevice *d
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259_common.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/intc/i8259_common.c b/hw/intc/i8259_common.c
index 3a850b0..d9a5e8b 100644
--- a/hw/intc/i8259_common.c
+++ b/hw/intc/i8259_common.c
@@ -70,10 +70,11 @@ static
Le 28/09/2016 à 03:37, David Gibson a écrit :
On Tue, Sep 27, 2016 at 08:49:47PM +0200, Hervé Poussineau wrote:
Le 27/09/2016 à 06:11, David Gibson a écrit :
On Mon, Sep 26, 2016 at 10:23:24PM +0200, Hervé Poussineau wrote:
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259.c | 37
Le 27/09/2016 à 06:11, David Gibson a écrit :
On Mon, Sep 26, 2016 at 10:23:24PM +0200, Hervé Poussineau wrote:
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/hw/intc/i8259.c b/hw/intc/i8259.c
:23 PM, Hervé Poussineau wrote:
Signed-off-by: Hervé Poussineau
---
hw/intc/slavio_intctl.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/hw/intc/slavio_intctl.c b/hw/intc/slavio_intctl.c
index e82e893..a9acb64 100644
--- a/hw/intc/slavio_intctl.c
+++ b
bout the
i8259 interrupt controller.
Changes since v1:
- renamed interface from IntCtrl to InterruptStatsProvider
Hervé
Hervé Poussineau (6):
intc: add an interface to gather statistics/informations on interrupt
controllers
intc/i8259: implement InterruptStatsProvider interface
intc/slav
This interface will be used by HMP commands 'info irq' and 'info pic'.
Signed-off-by: Hervé Poussineau
---
hw/intc/Makefile.objs | 1 +
hw/intc/intc.c | 41 +
include/hw/intc/intc.h | 30 ++
Signed-off-by: Hervé Poussineau
---
hmp-commands-info.hx | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 6a7c476..55d50c4 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -172,8 +172,6 @@ STEXI
Show the
Signed-off-by: Hervé Poussineau
---
hw/intc/slavio_intctl.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/hw/intc/slavio_intctl.c b/hw/intc/slavio_intctl.c
index e82e893..a9acb64 100644
--- a/hw/intc/slavio_intctl.c
+++ b/hw/intc/slavio_intctl.c
Signed-off-by: Hervé Poussineau
---
hmp-commands-info.hx | 12 -
hmp.c | 65 ++
hmp.h | 2 ++
hw/intc/i8259.c| 36 -
hw/intc/lm32_pic.c | 31
We have to change the vmstate version due to changes in statistics counters.
Signed-off-by: Hervé Poussineau
---
hw/intc/lm32_pic.c | 32
1 file changed, 28 insertions(+), 4 deletions(-)
diff --git a/hw/intc/lm32_pic.c b/hw/intc/lm32_pic.c
index 3dad01c
Signed-off-by: Hervé Poussineau
---
hw/intc/i8259.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/hw/intc/i8259.c b/hw/intc/i8259.c
index c2607a5..75c8d22 100644
--- a/hw/intc/i8259.c
+++ b/hw/intc/i8259.c
@@ -29,6 +29,7 @@
#include "qemu/ti
201 - 300 of 1187 matches
Mail list logo