Xilinx zynq-7000 machine model. Also includes device model for the zynq-specific
system level control register (SLCR) module.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.target b/Makefile.target
inde
From: Sergei Trofimovich
Current './configure --static && make' fails for me:
LINK qemu-nbd
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lssl3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot fin
Device model for cadence watchdog timer (WDT)
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_wdt.c | 260 ++
2 files changed, 261 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_wdt.c
diff --git
Xilinx zynq-7000 machine model. Also includes device model for the zynq-specific
system level control register (SLCR) module.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/xilinx_zynq.c | 192 ++
hw/zynq_arm_sysctl.c | 546
Regenerated and resent.
Regards,
Peter
On Mon, Jan 23, 2012 at 6:00 PM, Michal Simek wrote:
> Peter A. G. Crosthwaite wrote:
>
>> Xilinx zynq-7000 machine model. Also includes device model for the
>> zynq-specific
>> system level control register (SLCR) module.
>>
>> Signed-off-by: Peter A. G.
From: Sergei Trofimovich
Signed-off-by: Sergei Trofimovich
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 467e87b..f3dcfba 100755
--- a/configure
+++ b/configure
@@ -553,6 +553,7 @@ for opt do
--static)
static="yes"
Device mode for cadence gem ethernet controller.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_gem.c | 1441 ++
2 files changed, 1442 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_gem.c
diff --
Here are misc fixes done by VirtualBox team.
With these patches, floppy emulation is now good enough to run Xenix.
Changes v2->v3:
- removed patch changing controller stepping to 0
- fixed out of bound access after bad seek command
Changes v1->v2:
- updated commit messages
- added missing 'break'
Am 21.01.2012 20:02, schrieb Blue Swirl:
> On Mon, Jan 16, 2012 at 10:18, Kevin Wolf wrote:
>> Am 15.01.2012 08:51, schrieb Hervé Poussineau:
>>> Floppies must be read at a specific transfer rate, depending of its own
>>> format.
>>> Update floppy description table to include required transfer ra
The programmed rate has to be the same as the required rate for the
floppy format ; if that's not the case, the transfer should abort.
Revalidate floppy after migration, so media_rate field doesn't have
to be saved/restored.
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 25 ++
On Mon, Jan 23, 2012 at 10:41:38AM +0300, Sergei Trofimovich wrote:
> From: Sergei Trofimovich
>
Looks good to me.
> Current './configure --static && make' fails for me:
>
> LINK qemu-nbd
>
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot fin
Hi all,
I'm really sorry, but the bisectioning does not work for the versions that
I want to test.
I get a bunch of errors when bisectioning.
e.g. continuosly:
erik@debian:~/qemu-test/qemu-kvm$ make
CCx86_64-softmmu/monitor.o
In file included from /home/erik/qemu-test/qemu-kvm/qmp-commands
This bit must be active while a command is currently executed.
Signed-off-by: Hervé Poussineau
---
hw/fdc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index c1898a6..1b9f303 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1446,7 +1446,6 @@ static void
Floppies must be read at a specific transfer rate, depending of its own format.
Update floppy description table to include required transfer rate.
Signed-off-by: Hervé Poussineau
---
block.c | 74 -
block.h | 10 +++-
hw/fdc.c
parameterised the initrd load address for arm boot process. Machine models
can populate the initrd field with a non-zero address to specifiy that the
default value of 0x00d0 should be overridden.
Signed-off-by: Peter A. G. Crosthwaite
---
hw/arm-misc.h |2 ++
hw/arm_boot.c | 12 +++
rtc instanciated with -device has now a working irq line
Signed-off-by: Hervé Poussineau
---
hw/mc146818rtc.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c
index 657fa10..3067022 100644
--- a/hw/mc146818rtc.c
+++ b/hw/mc146818rtc.
Floppies can be simple or double-sided. However, current code
was only taking the common case into account (ie 2 sides).
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index 70aa5c7..c1898
DIR and CCR registers share the same address ; DIR is read-only
while CCR is write-only
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index 4a363bd..4875291 100644
--- a/hw/fdc.c
+++
Peter A. G. Crosthwaite wrote:
Xilinx zynq-7000 machine model. Also includes device model for the zynq-specific
system level control register (SLCR) module.
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makef
A real floppy doesn't attempt to write to read-only media either.
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index bedaeca..4a363bd 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -300,6 +300,7 @@ e
Added linux specific kernel dtb option. This option can be specified to inject
an argument device tree blob (dtb) into linux.
Signed-off-by: Peter A. G. Crosthwaite
---
qemu-options.hx |3 +++
vl.c|4
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/qemu-op
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 10 +++---
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index 3fa7704..79a7190 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -215,6 +215,7 @@ static void fdctrl_reset_fifo(FDCtrl *fdctrl);
static int fdctrl_tra
The seek command just sends step pulses to the drive and doesn't care if
there is a medium inserted of if it is banging the head against the drive.
Signed-off-by: Hervé Poussineau
---
hw/fdc.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
in
In fact, only three control commands generate an interrupt:
read_id, recalibrate and seek
Signed-off-by: Hervé Poussineau
---
hw/fdc.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index 1b9f303..bedaeca 100644
--- a/hw/fdc.c
+++ b/hw/fdc
Device model for cadence triple timer counter (TTC)
Signed-off-by: Peter A. G. Crosthwaite
---
Makefile.target |1 +
hw/cadence_ttc.c | 545 ++
2 files changed, 546 insertions(+), 0 deletions(-)
create mode 100644 hw/cadence_ttc.c
diff
Following patches update jazz-led emulation to current Qemu standards:
- use trace framework to report events
- convert to qdev
Hervé Poussineau (3):
jazz-led: use trace framework
jazz-led: convert to qdev
jazz-led: compile it only twice
Makefile.objs|1 +
Makef
On 23 January 2012 07:41, Sergei Trofimovich wrote:
> From: Sergei Trofimovich
>
> Signed-off-by: Sergei Trofimovich
> ---
> configure | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 467e87b..f3dcfba 100755
> --- a/configure
> +++ b/co
Signed-off-by: Hervé Poussineau
---
hw/jazz_led.c | 26 +-
trace-events |4
2 files changed, 13 insertions(+), 17 deletions(-)
diff --git a/hw/jazz_led.c b/hw/jazz_led.c
index f8a2182..1af9268 100644
--- a/hw/jazz_led.c
+++ b/hw/jazz_led.c
@@ -26,17 +26,7 @@
Signed-off-by: Hervé Poussineau
---
Makefile.objs|1 +
Makefile.target |1 -
default-configs/mips-softmmu.mak |1 +
default-configs/mips64-softmmu.mak |1 +
default-configs/mips64el-softmmu.mak |1 +
default-configs/mipsel-so
Some simplifications in I/O functions are possible because
Jazz LED only registers one byte of I/O.
Signed-off-by: Hervé Poussineau
---
hw/jazz_led.c | 153 +++
hw/mips.h |3 -
hw/mips_jazz.c |2 +-
3 files changed, 65 insertions
On Fri, 20 Jan 2012, Jan Kiszka wrote:
> On 2012-01-20 18:20, Stefano Stabellini wrote:
> > Hi all,
> > this is the fourth version of the Xen save/restore patch series.
> > We have been discussing this issue for quite a while on #qemu and
> > qemu-devel:
> >
> >
> > http://marc.info/?l=qemu-devel
On 2012-01-23 10:18, Hervé Poussineau wrote:
> rtc instanciated with -device has now a working irq line
That makes no sense. The mc146818rtc is no_user - for a reason.
What is the use case you are trying to address?
Jan
>
> Signed-off-by: Hervé Poussineau
> ---
> hw/mc146818rtc.c |4 ++--
Am 22.12.2011 14:17, schrieb Stefan Hajnoczi:
> There already exists a virtio_blk_handle_write trace event as well as
> completion events. Add the virtio_blk_handle_read event so it's easy to
> trace virtio-blk requests for both read and write operations.
>
> Signed-off-by: Stefan Hajnoczi
Than
Am 20.12.2011 19:49, schrieb Göran Weinholt:
> Alexander Graf writes:
>
>> Yes, this patch makes things work again :). Thanks a lot!
>>
>> The only thing I could nitpick on would be the coding style - checkpatch.pl
>> complains :). Could you please resend with braces?
>> Justin, Please also queu
Am 21.01.2012 13:54, schrieb Stefan Weil:
> The new block was filled with zero when it was allocated by g_malloc0,
> but when it was reused later and only partially used, data from the
> previously allocated block were still present and written to the new
> block.
>
> This caused the problems repo
On 2012-01-23 11:47, Stefano Stabellini wrote:
> On Fri, 20 Jan 2012, Jan Kiszka wrote:
>> On 2012-01-20 18:20, Stefano Stabellini wrote:
>>> Hi all,
>>> this is the fourth version of the Xen save/restore patch series.
>>> We have been discussing this issue for quite a while on #qemu and
>>> qemu-d
On Mon, 23 Jan 2012, Jan Kiszka wrote:
> >> Or what is the ordering
> >> of init, RAM restore, and initial device reset now?
> >
> > RAM restore (done by Xen)
> >
> > physmap rebuild (done by xen_hvm_init in qemu)
> > pc_init()
> > qemu_system_reset()
> > load_vmstate()
>
> Hmm, are you sure tha
Jan Kiszka a écrit :
On 2012-01-23 10:18, Hervé Poussineau wrote:
rtc instanciated with -device has now a working irq line
That makes no sense. The mc146818rtc is no_user - for a reason.
What is the use case you are trying to address?
I wanted to be able to instanciate it with isa_create_s
On 2012-01-23 13:00, Hervé Poussineau wrote:
> Jan Kiszka a écrit :
>> On 2012-01-23 10:18, Hervé Poussineau wrote:
>>> rtc instanciated with -device has now a working irq line
>>
>> That makes no sense. The mc146818rtc is no_user - for a reason.
>>
>> What is the use case you are trying to address
On 2012-01-23 12:59, Stefano Stabellini wrote:
> On Mon, 23 Jan 2012, Jan Kiszka wrote:
Or what is the ordering
of init, RAM restore, and initial device reset now?
>>>
>>> RAM restore (done by Xen)
>>>
>>> physmap rebuild (done by xen_hvm_init in qemu)
>>> pc_init()
>>> qemu_system_reset(
On 01/23/2012 12:34 AM, Stefan Weil wrote:
> Hi Rob,
>
> the patch was applied after v1.0, and there are two commits for
> the stable-1.0 branch and the main development branch.
> So I think that your git repository and your analysis is correct.
>
> Where did you get your v1.0 tarball from?
Sigh
There are two special cases in the address fields of the multiboot
format. If mh_load_end_addr is zero then the whole image file should
be loaded and if mh_bss_end_addr is zero then there is no bss segment.
With this change it is again possible to boot kernels where these
fields are zero.
Signed-o
The following changes since commit 8c4ec5c0269bda18bb777a64b2008088d1c632dc:
pxa2xx_keypad: fix unbalanced parenthesis. (2012-01-17 02:14:42 +0100)
are available in the git repository at:
git://github.com/kvaneesh/QEMU.git for-upstream
for you to fetch changes up to 0700a73cfe166100cb59e2
Vadim,
Thanks. We will download the code from Yan's repository.
-Original Message-
From: Vadim Rozenfeld [mailto:vroze...@redhat.com]
Sent: Friday, January 20, 2012 8:48 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: Michael Roth; Stefan Hajnoczi; spice-de...@lists.freedesktop.org; Alex
Huang-黃必賢-研
Otherwise we can write beyond the buffer and corrupt memory. This is tracked
as CVE-2012-0029.
Signed-off-by: Anthony Liguori
---
hw/e1000.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/e1000.c b/hw/e1000.c
index a29c944..86c5416 100644
--- a/hw/e1000.c
+++ b/hw
On 01/19/2012 04:53 PM, Paolo Bonzini wrote:
I found a problem that a virtio-scsi disk gets offline during mkfs.
The scsi disk is of 100G or bigger, and the corresponding image
is a freshly created qcow2 image. If the disk is small enough, or
not freshly created, the problem doesn't appear.
Hi
Since nobody seems to have disagreed, perhaps we should
just commit this?
-- PMM
On 13 January 2012 20:29, Peter Maydell wrote:
> Clarify that enum type names and function type names should follow
> the CamelCase style used for structured type names.
>
> Signed-off-by: Peter Maydell
> ---
> Dur
These patches apply/work on top of:
[PATCH] qemu-ga: Add schema documentation for types
[PATCH] qemu-ga: add guest-set-support-level command
[PATCH] main-loop: Fix SetEvent() on uninitialized handle on win32
[PATCH] main-loop: For tools, initialize timers as part of qemu_init_main_loop()
And can a
Many of the current RPC implementations are very much POSIX-specific
and require complete re-writes for Windows. There are however a small
set of core guest agent commands that are common to both, and other
commands such as guest-file-* which *may* be portable. So we introduce
commands.c for the la
This is monstly in preparation for the win32 port, which won't use
GIO channels for reasons that will be made clearer later. Here the
GAChannel class is just a loose wrapper around GIOChannel
calls/callbacks, but we also roll the logic/configuration for handling
FDs and also for managing unix socke
Various stubs and #ifdefs to compile for Windows using mingw
cross-build. Still has 1 linker error due to a dependency on the
forthcoming win32 versions of the GAChannel/transport class.
Signed-off-by: Michael Roth
---
Makefile |2 +-
Makefile.objs|9 +++--
configure
This allows qemu-ga to function as a Windows service:
- to install the service (will auto-start on boot):
qemu-ga --service install
- to start the service:
net start qemu-ga
- to stop the service:
net stop qemu-ga
- to uninstall service:
qemu-ga --service uninstall
Origina
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qga/commands-posix.c | 528
qga/guest-agent-commands.c | 528
3 files changed, 529 insertions(+), 529 deletions(-)
create mode
On 20 January 2012 20:46, Mark Langsdorf wrote:
> Create two functions, write_secondary_boot() and secondary_cpu_reset_hook(),
> to allow platforms more control of how secondary CPUs are brought up. The
> new functions default to NULL and aren't called unless they are populated
> so there are no c
On 2009-07-17 16:37, Alexander Graf wrote:
>
> On 17.07.2009, at 15:23, Christoph Egger wrote:
>
>>
>> Hi!
>>
>> Attached patch makes signrom.sh working on NetBSD.
>> The output of the 'od' command leads to a syntax error
>> which breaks the build.
>
> So why replace the $(( ... )) calculation w
On 20 January 2012 20:47, Mark Langsdorf wrote:
> + /* highbank requires a dtb in order to boot, and the dtb will override
> + * the board ID. The following value is ignored, so set it to -1 to be
> + * clear that the value is meaningless.
> + */
> + highbank_binfo.board_id = 0;
Implement guest-shutdown RPC for Windows. Functionally this should be
equivalent to the posix implementation.
Original patch by Gal Hammer
Signed-off-by: Michael Roth
---
qga/commands-win32.c | 41 -
1 files changed, 40 insertions(+), 1 deletions(-)
d
On 20 January 2012 20:46, Mark Langsdorf wrote:
> Long term, the config_base_register will be a QDM parameter. In the
> meantime, models that use it need to be able to preserve it across
> cpu_reset() calls.
>
> Signed-off-by: Mark Langsdorf
> ---
> Changes from v1-v12
> Skipped
>
> targe
On Mon, 23 Jan 2012, Jan Kiszka wrote:
> On 2012-01-23 12:59, Stefano Stabellini wrote:
> > On Mon, 23 Jan 2012, Jan Kiszka wrote:
> Or what is the ordering
> of init, RAM restore, and initial device reset now?
> >>>
> >>> RAM restore (done by Xen)
> >>>
> >>> physmap rebuild (done by xen
This adds a win32 channel implementation that makes qemu-ga functional
on Windows using virtio-serial (unix-listen/isa-serial not currently
implemented). Unlike with the posix implementation, we do not use
GIOChannel for the following reasons:
- glib calls stat() on an fd to check whether S_IFCHR
On 01/13/12 08:43, Gerd Hoffmann wrote:
> On 01/12/12 17:31, Hans de Goede wrote:
>> This patch adds the posibility to filter out certain devices from redirecion.
>> To use this pass the filter property to -device usb-redir. The filter
>> property takes a string consisting of filter rules, the for
On 01/13/12 14:28, Hans de Goede wrote:
> According to the EHCI spec port ownerhsip should revert to the EHCI controller
> on device disconnect. This fixes the problem of a port getting stuck on USB 1
> when using redirection and plugging in a USB 2 device after a USB 1 device
> has been redirected
The USB subsystem pipes internal attach/detach notifications through
usb_handle_packet() with a special magic PID. This indirection is a
pretty pointless excercise as it ends up being handled by
usb_generic_handle_packet anyway. Remove it.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c | 18 +
Add usb_find_device(). This function will check whenever a device with
a specific address is connected to the specified port. Usually this
will just check state and address of the device hooked up to the port,
but in case of a hub it will ask the hub to check all hub ports for a
matching device.
Switch over musb to use the new usb_find_device()
function for device lookup.
Signed-off-by: Gerd Hoffmann
---
hw/usb-musb.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/hw/usb-musb.c b/hw/usb-musb.c
index c2753c9..ecac631 100644
--- a/hw/usb-musb.c
+++ b/hw/usb
There is no reason to have a separate usb_generic_handle_packet function
any more, fold it into usb_handle_packet(). Also call the do_token_*
functions which handle control transfer emulation for control pipe
packets only.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c | 58 +++
Switch over EHCI to use the new usb_find_device()
function for device lookup.
Signed-off-by: Gerd Hoffmann
---
hw/usb-ehci.c | 69 -
1 files changed, 29 insertions(+), 40 deletions(-)
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index 7c75
Add a "nr" and "pid" fields to USBEndpoint so you can easily figure the
endpoint number and direction of any given endpoint.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c |5 +
hw/usb.h |2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 9f4456
When logging TRBs add a the type name for more readable debug output.
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c | 62 +---
1 files changed, 58 insertions(+), 4 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index 99e08e3..3cd53
With the separation of the device lookup (via usb_find_device) and
packet processing we can lookup device and endpoint before setting up
the usb packet. So we can initialize USBPacket->ep early and keep it
valid for the whole lifecycle of the USBPacket. Also the devaddr and
devep fields are not n
On 01/23/12 15:54, Gerd Hoffmann wrote:
> *** BLURB HERE ***
Oops, that wasn't supposed to happen ...
This patch series revamps the usb packet workflow to move the whole
thing to a event-based workflow. xhci emulation needs this, and we also
might be able to use this with the other host adapters
Add usb bus op which is called whenever a usb endpoint becomes ready,
so the host adapter emulation can react on that event.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c |4
hw/usb.h |1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 381558d.
Unused argument, remove it.
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index 1e8836f..cd88c76 100644
--- a/hw/usb-xhci.c
+++ b/hw/usb-xhci.c
@@ -1390,7 +1390,7 @@ static int xhci_hle_c
batuzovk writes:
>> I'm debugging an operating system with QEMU and I have a race condition in
>> the OS. The problem is that each time I run QEMU I get this error in a
>> different place, so it makes impossible for gdb to debug it. My plan is to
>> remove this indeterminism and be able to reprodu
No users left. Zap it.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c | 13 -
hw/usb.h |1 -
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index e81c06d..a6eea99 100644
--- a/hw/usb.c
+++ b/hw/usb.c
@@ -299,19 +299,6 @@ int set_usb_string(uint8
All drivers except usb-hub use usb_generic_handle_packet. The only
reason the usb hub has its own function is that it used to be called
with packets which are intended for downstream devices. With the new,
separate device lookup step this doesn't happen any more, so the need
for a different handl
*** BLURB HERE ***
Gerd Hoffmann (25):
usb: kill USB_MSG_{ATTACH,DETACH}
usb: kill USB_MSG_RESET
usb: kill usb_send_msg
usb: add usb_find_device()
usb-hub: implement find_device
usb: handle dev == NULL in usb_handle_packet()
usb-uhci: switch to usb_find_device()
usb-ehci: switch to
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index 15525f4..99e08e3 100644
--- a/hw/usb-xhci.c
+++ b/hw/usb-xhci.c
@@ -2672,7 +2672,10 @@ static void usb_xhci_init(XHCIState *xhci, DeviceS
Add enum to track the status of USBPackets, use that instead of the
owner pointer to figure whenever a usb packet is currently in flight
or not. Add some more packet status sanity checks. Also rename the
USBEndpoint pointer from "owner" to "ep".
Signed-off-by: Gerd Hoffmann
---
hw/usb-ehci.c |
When some error happened we'll have to stop processing the endpoint.
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index 3cd5374..1e8836f 100644
--- a/hw/usb-xhci.c
+++ b/hw/usb-xhci.c
Switch over UHCI to use the new usb_find_device()
function for device lookup.
Signed-off-by: Gerd Hoffmann
---
hw/usb-uhci.c | 45 +++--
1 files changed, 15 insertions(+), 30 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
index 485dc1d..868ac83
Maintain a list of async packets per endpoint. With the current code
the list will never receive more than a single item. I think you can
guess what the future plan is though ;)
Signed-off-by: Gerd Hoffmann
---
hw/usb.c | 130 +
hw/u
Implement the find_device callback for the usb hub. It'll loop over all
ports, calling usb_find_device for all enabled ports until it finds a
matching device.
Signed-off-by: Gerd Hoffmann
---
hw/usb-hub.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --gi
Add a field to XHCITransfer to correctly keep track of NAK'ed usb
packets. Retry transfers when the endpoint is kicked again. Implement
wakeup_endpoint bus op so we can kick the endpoint when needed.
With this patch applied the emulated hid devices are working correctly
when hooked up to xhci.
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index cd88c76..a42bb96 100644
--- a/hw/usb-xhci.c
+++ b/hw/usb-xhci.c
@@ -2696,6 +2696,26 @@ static void xhci_detach(USBPort *
On 2012-01-23 15:46, Stefano Stabellini wrote:
> On Mon, 23 Jan 2012, Jan Kiszka wrote:
>> On 2012-01-23 12:59, Stefano Stabellini wrote:
>>> On Mon, 23 Jan 2012, Jan Kiszka wrote:
>> Or what is the ordering
>> of init, RAM restore, and initial device reset now?
>
> RAM restore (don
Switch over OHCI to use the new usb_find_device()
function for device lookup.
Signed-off-by: Gerd Hoffmann
---
hw/usb-ohci.c | 73 +
1 files changed, 37 insertions(+), 36 deletions(-)
diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c
index 77f8
Allow passing in a NULL pointer, return USB_RET_NODEV in that case.
Removes the burden to to a NULL pointer check from the callers.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 5482c92..80afd99 100
On 01/20/2012 11:21 AM, Stefano Stabellini wrote:
From: Anthony PERARD
In the Xen case, the guest RAM is not handle by QEMU, and it is saved by
Xen tools.
So, we just avoid to register the RAM save state handler.
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
---
vl.c |6
Devices must specify which endpoint has data to transfer now.
The plan is to use the usb_wakeup() not only for remove wakeup support,
but for "data ready" signaling in general, so we can move away from
constant polling to event driven usb device emulation.
Signed-off-by: Gerd Hoffmann
---
hw/usb
On 01/23/2012 04:47 AM, Stefano Stabellini wrote:
On Fri, 20 Jan 2012, Jan Kiszka wrote:
On 2012-01-20 18:20, Stefano Stabellini wrote:
Hi all,
this is the fourth version of the Xen save/restore patch series.
We have been discussing this issue for quite a while on #qemu and
qemu-devel:
http:/
Switch over xHCI to use the new usb_find_device()
function for device lookup.
Signed-off-by: Gerd Hoffmann
---
hw/usb-xhci.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index e089a1b..a9767e3 100644
--- a/hw/usb-xhci.c
+++ b/
101 - 192 of 192 matches
Mail list logo