On 11.12.2010, at 23:33, Blue Swirl wrote:
> This patch replaces explicit bswaps with endianness hints to the
> mmio layer.
>
> CC: Alexander Graf
> Signed-off-by: Blue Swirl
Acked-by: Alexander Graf
Alex
Please find a new block driver that IF libiscsi is present on the system
will link with this userspace client library and make qemu able to
access iscsi devices directly without exposing them to the host.
The library used is multiplatform and available from
git://github.com/sahlberg/libiscsi.git
This patch adds a new block driver : block.iscsi.c
This driver interfaces with the multiplatform posix library
for iscsi initiator/client access to iscsi devices hosted at
git://github.com/sahlberg/libiscsi.git
The patch adds the driver to interface with the iscsi library.
It also updated the conf
On 12/11/2010 03:42 PM, Stefano Bonifazi wrote:
Surely I do understand you! Your help has been very very useful and
appreciated already thank you! May you direct me to somebody who's working
on it? Some TCG guru who could understand immediately what's wrong?:)
I noticed, far now, that each quest
On 12/10/10 18:09, Michael Roth wrote:
> I think with strictly enforced size limits the major liability for
> viewfile is, as you mentioned, users using it to view binary data or
> carefully crafted files that can mess up or fool users/shells/programs
> interpreting monitor output.
>
> But plain-t
On 12/13/2010 02:00 AM, Marcelo Tosatti wrote:
On Sat, Dec 11, 2010 at 09:39:30AM +0200, Avi Kivity wrote:
> On 12/08/2010 07:08 PM, Marcelo Tosatti wrote:
> >Use _RMV method to indicate whether device can be removed.
> >
> >Data is retrieved from QEMU via I/O port 0xae0c.
> >
>
> Where did
On 12/10/2010 04:41 PM, Jan Kiszka wrote:
> Am 10.12.2010 08:42, Lai Jiangshan wrote:
>>
>> Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the
>> user space raised them. (example: qemu monitor's "nmi" command)
>>
>> Signed-off-by: Lai Jiangshan
>> ---
>> diff --git a/configur
On Mon, Dec 13, 2010 at 10:41:25AM +0200, Avi Kivity wrote:
> On 12/13/2010 02:00 AM, Marcelo Tosatti wrote:
> >On Sat, Dec 11, 2010 at 09:39:30AM +0200, Avi Kivity wrote:
> >> On 12/08/2010 07:08 PM, Marcelo Tosatti wrote:
> >> >Use _RMV method to indicate whether device can be removed.
> >> >
On 12/13/2010 10:49 AM, Gleb Natapov wrote:
On Mon, Dec 13, 2010 at 10:41:25AM +0200, Avi Kivity wrote:
> On 12/13/2010 02:00 AM, Marcelo Tosatti wrote:
> >On Sat, Dec 11, 2010 at 09:39:30AM +0200, Avi Kivity wrote:
> >> On 12/08/2010 07:08 PM, Marcelo Tosatti wrote:
> >> >Use _RMV method
On Mon, Dec 13, 2010 at 10:53:07AM +0200, Avi Kivity wrote:
> On 12/13/2010 10:49 AM, Gleb Natapov wrote:
> >On Mon, Dec 13, 2010 at 10:41:25AM +0200, Avi Kivity wrote:
> >> On 12/13/2010 02:00 AM, Marcelo Tosatti wrote:
> >> >On Sat, Dec 11, 2010 at 09:39:30AM +0200, Avi Kivity wrote:
> >> >>
On 12/13/2010 11:03 AM, Gleb Natapov wrote:
> We could also deprecate the old port and use fwcfg for everything
> (try fwcfg, fall back to ae00).
>
fwcfg designed to be simple for easy use by firmware. It has two port
one for index another for value, so its use is racy in multi-threaded SMP
env
On Mon, Dec 13, 2010 at 11:10:38AM +0200, Avi Kivity wrote:
> On 12/13/2010 11:03 AM, Gleb Natapov wrote:
> >> We could also deprecate the old port and use fwcfg for everything
> >> (try fwcfg, fall back to ae00).
> >>
> >fwcfg designed to be simple for easy use by firmware. It has two port
> >on
discard [-Cq] off len -- discards a number of bytes at a specified
offset
discards a range of bytes from the given offset
Example:
'discard 512 1k' - discards 1 kilobyte from 512 bytes into the file
Discards a segment of the currently open file.
-C, -- report statistics in a machine parsabl
On Sun, Dec 12, 2010 at 9:09 PM, Michael S. Tsirkin wrote:
> On Sun, Dec 12, 2010 at 10:56:34PM +0200, Michael S. Tsirkin wrote:
>> On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote:
>> > On Sun, Dec 12, 2010 at 10:41:28PM +0200, Michael S. Tsirkin wrote:
>> > > On Sun, Dec 12, 20
On Mon, Dec 13, 2010 at 10:24:51AM +, Stefan Hajnoczi wrote:
> On Sun, Dec 12, 2010 at 9:09 PM, Michael S. Tsirkin wrote:
> > On Sun, Dec 12, 2010 at 10:56:34PM +0200, Michael S. Tsirkin wrote:
> >> On Sun, Dec 12, 2010 at 10:42:28PM +0200, Michael S. Tsirkin wrote:
> >> > On Sun, Dec 12, 2010
Hi
2010/12/13 Stefan Hajnoczi :
>
> On Dec 13, 2010 5:14 AM, "अनुज" wrote:
>>
>> Hi
>>
>> I am trying to implement VirtIO support for a proprietary OS. And It
>> would be great if I am able to process SCSI commands over VirtIO Block
>> device.
>>
>> I tried to execute INQUIRY command but the stat
Basic packet structure / communication
--
Each packet exchanged between the vm-host and the usb-host starts
with a usb_redir_header, followed by an optional command specific
header follow by optional additional data.
The usb_redir_header each packet starts wit
Fresh results:
192.168.0.1 - host (runs netperf)
192.168.0.2 - guest (runs netserver)
host$ src/netperf -H 192.168.0.2 -- -m 200
ioeventfd=on
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2
(192.168.0.2) port 0 AF_INET
Recv SendSend
Socket Socket Message Elapsed
Size
On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote:
> Fresh results:
>
> 192.168.0.1 - host (runs netperf)
> 192.168.0.2 - guest (runs netserver)
>
> host$ src/netperf -H 192.168.0.2 -- -m 200
>
> ioeventfd=on
> TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2
>
On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote:
> > Fresh results:
> >
> > 192.168.0.1 - host (runs netperf)
> > 192.168.0.2 - guest (runs netserver)
> >
> > host$ src/netperf -H 192.168.0.2 -- -m 200
> >
> >
On Wed, 2010-12-08 at 17:31 -0200, Marcelo Tosatti wrote:
> On Tue, Dec 07, 2010 at 03:12:36PM -0200, Glauber Costa wrote:
> > On Mon, 2010-12-06 at 19:04 -0200, Marcelo Tosatti wrote:
> > > On Mon, Dec 06, 2010 at 09:03:46AM -0500, Glauber Costa wrote:
> > > > Usually nobody usually thinks about t
Here are my results on qemu-kvm.git:
ioeventfd=on
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.0.2
(192.168.0.2) port 0 AF_INET
Recv SendSend
Socket Socket Message Elapsed
Size SizeSize Time Throughput
bytes bytes bytessecs.10^6bits/sec
87380
@Stephane,
did upstream ever accept your patch?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/595117
Title:
qemu-nbd slow and missing "writeback" cache option
Status in QEMU:
Invalid
Status in
Hi qemu-de...@nongnu.org!
Check out my photos on Shtyle.fm
I've created a profile on Shtyle.fm to upload my photos, share files and make new friends and I want to add you as a
On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
>> On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote:
>> > Fresh results:
>> >
>> > 192.168.0.1 - host (runs netperf)
>> > 192.168.0.2 - guest (runs netser
On Sat, Dec 11, 2010 at 12:50:20PM +, Paul Brook wrote:
> > It's guest visible state, so it must not change due to migrations. For
> > the current implementation all values for it work anyway - if it's
> > smaller than the block size we'll zero out the remainder of the block.
>
> That sounds
On Sun, Dec 12, 2010 at 03:28:14PM +, Stefan Hajnoczi wrote:
> Do you have qemu-io support for discard?
Now that you wrote it we have the support :)
> Any hints on testing this? A recent guest kernel and ext -o discard
> might exercise the code but I haven't tried yet.
Anything that submits
On 12/11/2010 10:56 AM, Blue Swirl wrote:
On Tue, Dec 7, 2010 at 11:40 AM, Fabien Chouteau wrote:
On 12/06/2010 06:53 PM, Blue Swirl wrote:
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau
wrote:
Signed-off-by: Fabien Chouteau
---
Makefile.target |5 +-
hw/leon3.c
On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
> >> On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote:
> >> > Fresh results:
> >> >
>
On 12/10/2010 02:38 PM, Christoph Hellwig wrote:
if it's smaller than the block size we'll zero out the remainder of
the block.
I think it should fail at VM startup time, or even better do nothing at all.
When you write in the middle of an absent block, and a partially-zero
block is created,
On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
> >> On Mon, Dec 13, 2010 at 01:11:27PM +, Stefan Hajnoczi wrote:
> >> > Fresh results:
> >> >
>
On Mon, Dec 13, 2010 at 05:07:27PM +0100, Paolo Bonzini wrote:
> On 12/10/2010 02:38 PM, Christoph Hellwig wrote:
> >if it's smaller than the block size we'll zero out the remainder of
> >the block.
>
> I think it should fail at VM startup time, or even better do nothing at all.
What should fail?
> On Sat, Dec 11, 2010 at 12:50:20PM +, Paul Brook wrote:
> > > It's guest visible state, so it must not change due to migrations. For
> > > the current implementation all values for it work anyway - if it's
> > > smaller than the block size we'll zero out the remainder of the block.
> >
> >
On 12/11/2010 11:31 AM, Blue Swirl wrote:
On Tue, Dec 7, 2010 at 10:43 AM, Fabien Chouteau wrote:
On 12/06/2010 06:25 PM, Blue Swirl wrote:
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau
wrote:
Signed-off-by: Fabien Chouteau
---
hw/grlib_irqmp.c | 416
+
On 12/13/2010 05:15 PM, Christoph Hellwig wrote:
On Mon, Dec 13, 2010 at 05:07:27PM +0100, Paolo Bonzini wrote:
On 12/10/2010 02:38 PM, Christoph Hellwig wrote:
if it's smaller than the block size we'll zero out the remainder of
the block.
I think it should fail at VM startup time, or even be
blkqueue wants to stop the VM after an error has occurred, so we need to make
vm_stop available in common code. It now returns a boolean that tells if the VM
could be stopped, which is always true in qemu itself, and always false in the
tools.
Signed-off-by: Kevin Wolf
---
cpus.c|8 +
Add some unit tests especially for the ordering and request merging in
block-queue.
Signed-off-by: Kevin Wolf
---
Makefile|1 +
check-block-queue.c | 402 +++
2 files changed, 403 insertions(+), 0 deletions(-)
create mode 100644 c
On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
>> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
>> > On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
>> >> On Mon, Dec 13, 2010 at 01:11:
Instead of directly executing writes and fsyncs, queue them and execute them
asynchronously. What makes this interesting is that we can delay syncs and if
multiple syncs occur, we can merge them into one bdrv_flush.
A typical sequence in qcow2 (simple cluster allocation) looks like this:
1. Updat
Differences to RFC v3 include proper conversion of qcow2, addressing Stefan's
comments and fixing some error cases in which two write requests to the same
location might conflict.
Also worth noting is that bdrv_aio_pwrite is dropped. It was unsafe with
respect to multiple concurrent requests on th
On Mon, Dec 13, 2010 at 4:00 PM, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
>> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
>> > On Mon, Dec 13, 2010 at 03:35:38PM +0200, Michael S. Tsirkin wrote:
>> >> On Mon, Dec 13, 2010 at 01:11:
On Mon, Dec 13, 2010 at 04:29:58PM +, Stefan Hajnoczi wrote:
> On Mon, Dec 13, 2010 at 4:00 PM, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
> >> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin
> >> wrote:
> >> > On Mon, Dec 13, 2010 at 0
On 12/11/2010 10:59 AM, Blue Swirl wrote:
On Tue, Dec 7, 2010 at 11:51 AM, Fabien Chouteau wrote:
On 12/06/2010 07:01 PM, Blue Swirl wrote:
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau
wrote:
Signed-off-by: Fabien Chouteau
---
hw/leon3.c |6 ++
target-sparc/cpu
On 12/12/2010 03:41 PM, Andreas Färber wrote:
Am 06.12.2010 um 10:26 schrieb Fabien Chouteau:
diff --git a/Makefile.target b/Makefile.target
index 2800f47..f40e04f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -290,7 +290,10 @@ obj-sparc-y += cirrus_vga.o
else
obj-sparc-y = sun4m.o lanc
On Mon, 2010-12-13 at 02:55 +0530, Juan Quintela wrote:
> Alex Williamson wrote:
> > On Sun, 2010-12-12 at 20:07 +0530, Juan Quintela wrote:
> >> "Michael S. Tsirkin" wrote:
> >> > On Sun, Dec 12, 2010 at 05:23:39PM +0530, Juan Quintela wrote:
> >> >> "Michael S. Tsirkin" wrote:
> >> >> > On Thu
On Mon, Dec 13, 2010 at 10:43:22AM -0700, Alex Williamson wrote:
> So, unfortunately, I stand by my original patch.
What about the one that put -1 in saved index for a hotplugged device?
--
MST
On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi wrote:
> On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin wrote:
>> On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
>>> On Mon, Dec 13, 2010 at 1:36 PM, Michael S. Tsirkin wrote:
>>> > On Mon, Dec 13, 2010 at 03:35:38PM +0200,
On Mon, 2010-12-13 at 19:50 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 10:43:22AM -0700, Alex Williamson wrote:
> > So, unfortunately, I stand by my original patch.
>
> What about the one that put -1 in saved index for a hotplugged device?
There are still examples that don't work
Signed-off-by: Andreas Niederl
---
Makefile.objs |3 +++
configure |9 +
qemu-config.c | 16
qemu-config.h |1 +
qemu-options.hx |6 ++
vl.c| 29 +
6 files changed, 64 insertions(+), 0 deletions(-
Threadlets are used for asynchronous I/O to the host TPM device because the
Linux TPM driver does not allow for non-blocking I/O.
This patch is based on the Threadlets patch series v12 posted on this list.
Signed-off-by: Andreas Niederl
---
hw/tpm_backend.c |1 +
hw/tpm_host_backend.c
On 12/13/2010 07:04 PM, Andreas Niederl wrote:
[...]
Sorry for the wrong patch count in the subject. Total number is 4.
Regards,
Andreas
smime.p7s
Description: S/MIME Cryptographic Signature
This implementation is based on the TPM 1.2 interface for virtualized TPM
devices from the Xen-4.0.0 ioemu-qemu-xen fork.
A backend driver infrastructure is provided to be able to use different
device backends.
Signed-off-by: Andreas Niederl
---
hw/tpm.h |6 +
hw/tpm_backend.c | 6
On Mon, Dec 13, 2010 at 4:23 PM, Fabien Chouteau wrote:
> On 12/11/2010 11:31 AM, Blue Swirl wrote:
>>
>> On Tue, Dec 7, 2010 at 10:43 AM, Fabien Chouteau
>> wrote:
>>>
>>> On 12/06/2010 06:25 PM, Blue Swirl wrote:
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau
wrote:
>
>
On Mon, Dec 13, 2010 at 3:51 PM, Fabien Chouteau wrote:
> On 12/11/2010 10:56 AM, Blue Swirl wrote:
>>
>> On Tue, Dec 7, 2010 at 11:40 AM, Fabien Chouteau
>> wrote:
>>>
>>> On 12/06/2010 06:53 PM, Blue Swirl wrote:
On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau
wrote:
>
>
On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote:
> On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi wrote:
> > On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin wrote:
> >> On Mon, Dec 13, 2010 at 03:27:06PM +, Stefan Hajnoczi wrote:
> >>> On Mon, Dec 13, 2010 at 1:36 PM, Mi
On Mon, Dec 13, 2010 at 11:00:44AM -0700, Alex Williamson wrote:
> On Mon, 2010-12-13 at 19:50 +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 10:43:22AM -0700, Alex Williamson wrote:
> > > So, unfortunately, I stand by my original patch.
> >
> > What about the one that put -1 in save
On Mon, 2010-12-13 at 20:54 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 11:00:44AM -0700, Alex Williamson wrote:
> > On Mon, 2010-12-13 at 19:50 +0200, Michael S. Tsirkin wrote:
> > > On Mon, Dec 13, 2010 at 10:43:22AM -0700, Alex Williamson wrote:
> > > > So, unfortunately, I stand
On Mon, Dec 13, 2010 at 11:59:16AM -0700, Alex Williamson wrote:
> On Mon, 2010-12-13 at 20:54 +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 11:00:44AM -0700, Alex Williamson wrote:
> > > On Mon, 2010-12-13 at 19:50 +0200, Michael S. Tsirkin wrote:
> > > > On Mon, Dec 13, 2010 at 10:
On Mon, 2010-12-13 at 21:06 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 11:59:16AM -0700, Alex Williamson wrote:
> > On Mon, 2010-12-13 at 20:54 +0200, Michael S. Tsirkin wrote:
> > > On Mon, Dec 13, 2010 at 11:00:44AM -0700, Alex Williamson wrote:
> > > > On Mon, 2010-12-13 at 19:50
On Mon, 2010-11-08 at 13:22 +0200, Michael S. Tsirkin wrote:
> On Mon, Oct 04, 2010 at 03:53:11PM -0600, Alex Williamson wrote:
> > pcibus_dev_print() was erroneously retrieving the device bus
> > number from the secondary bus number offset of the device
> > instead of the bridge above the device.
No comments since v3, please apply. Thanks,
Alex
v3:
- Address review comments
- pc registers all memory below 4G in one chunk
Let me know if there are any further issues.
v2:
- Move to Makefile.objs
- Move structures to memory.c and create a callback function
- Fix memory leak
I haven
This adds a minimum chunk of Anthony's RAM API support so that we
can identify actual VM RAM versus all the other things that make
use of qemu_ram_alloc.
Signed-off-by: Alex Williamson
---
Makefile.objs |1 +
cpu-common.h |2 +
memory.c | 97 +
Register the actual VM RAM using the new API
Signed-off-by: Alex Williamson
---
hw/pc.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index e1b2667..1554164 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -913,14 +913,11 @@ void pc_memory_init(ram_addr
On Mon, Dec 13, 2010 at 8:05 AM, Ronnie Sahlberg
wrote:
> This patch adds a new block driver : block.iscsi.c
> This driver interfaces with the multiplatform posix library
> for iscsi initiator/client access to iscsi devices hosted at
> git://github.com/sahlberg/libiscsi.git
>
> The patch adds the
On Mon, Dec 13, 2010 at 8:47 PM, Alex Williamson
wrote:
> This adds a minimum chunk of Anthony's RAM API support so that we
> can identify actual VM RAM versus all the other things that make
> use of qemu_ram_alloc.
>
> Signed-off-by: Alex Williamson
> ---
>
> Makefile.objs | 1 +
> cpu-commo
Required for regions mapped via qemu_ram_alloc_from_ptr(). VFIO
and ivshmem will make use of this to remove mappings when devices
are hot unplugged.
Signed-off-by: Alex Williamson
---
No comments on original patch. Obvious missing function. Cam has since
requested the same function for ivshme
On 12/13/2010 02:47 PM, Alex Williamson wrote:
This adds a minimum chunk of Anthony's RAM API support so that we
can identify actual VM RAM versus all the other things that make
use of qemu_ram_alloc.
Signed-off-by: Alex Williamson
---
Makefile.objs |1 +
cpu-common.h |2 +
memory.
Update per comments, Thanks,
Alex
v4:
- ram_slot -> RamSlot (per CODING_STYLE)
- drop qemu_ prefix from functions (per CODING_STYLE)
- mallocz -> malloc
- drop extraneous return from void function
v3:
- Address review comments
- pc registers all memory below 4G in one chunk
Let me know
This adds a minimum chunk of Anthony's RAM API support so that we
can identify actual VM RAM versus all the other things that make
use of qemu_ram_alloc.
Signed-off-by: Alex Williamson
---
Makefile.objs |1 +
cpu-common.h |2 +
memory.c | 94 +
Register the actual VM RAM using the new API
Signed-off-by: Alex Williamson
---
hw/pc.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index e1b2667..87adca2 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -913,14 +913,11 @@ void pc_memory_init(ram_addr
Do not call pci_update_mappings on the lower 32-bits of a 64-bit bar. Wait for
the upper 32 or else Qemu will try to map on just the lower 32 which is
probably going to corrupt memory.
I was encountering crashes when mapping certain PCI region sizes. The problem
turns out that pci_update_mapp
Please send in any agenda items you are interested in covering.
thanks,
-chris
We hook into transfer_start and immediately call the end function
for ahci. This means that everything needs to be in place for the
end function when we start the transfer, so let's move the function
down to where all state is in place.
Signed-off-by: Alexander Graf
---
hw/ide/core.c |8
The ATA command interpretation code can be used for PATA and SATA
interfaces alike. So let's split it out into a separate function.
Signed-off-by: Alexander Graf
---
v6 -> v7:
- use bus instead of opaque (stefanha)
---
hw/ide/core.c | 20 ++--
hw/ide/internal.h |2
We need a PCI ID for our new AHCI adapter. I just picked an ICH-9
because that's the one in the Q35 chipset.
This patch adds a PCI ID define for an ICH-9 AHCI adapter.
Signed-off-by: Alexander Graf
---
v3 -> v4:
- add ICH7 instead of ICH7M (herbszt)
v4 -> v5:
- rename to ICH7_AHCI_RAID
From: Roland Elek
I modified ide_identify() to include the zero-based queue length
value in word 75, and set bit 8 in word 76 to signal NCQ support
in the identify data for AHCI SATA drives.
Signed-off-by: Roland Elek
---
hw/ide/core.c |7 +++
hw/ide/internal.h |2 ++
2 files c
This patch adds support for AHCI emulation. I have tested and verified it works
in Linux, OpenBSD, Windows Vista and Windows 7. This AHCI emulation supports
NCQ, so multiple read or write requests can be outstanding at the same time.
The code is however not fully optimized yet. I'm fairly sure tha
The ATA core is currently heavily intertwined with BMDMA code. Let's loosen
that a bit, so we can happily replace the DMA backend with different
implementations.
Signed-off-by: Alexander Graf
---
v7 -> v8:
- rewrite as DMA ops
v8 -> v9:
- fold in: split out irq setting
- fold in: move
This patch enables AHCI for all machines supporting PCI.
Signed-off-by: Alexander Graf
---
default-configs/pci.mak |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/default-configs/pci.mak b/default-configs/pci.mak
index d700b3c..0471efb 100644
--- a/default-configs/pci.ma
This patch adds the storage sata class id.
Signed-off-by: Alexander Graf
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index 82cba7e..ea3418c 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -15,6 +15,7 @@
#define PCI_CLAS
Now that we have the function split out, we have to reindent it.
In order to increase the readability of the actual functional change,
this is split out.
Signed-off-by: Alexander Graf
---
hw/ide/core.c | 734
1 files changed, 367 insertio
From: Sebastian Herbszt
Set SATA Mode Select to AHCI in the Address Map Register.
Signed-off-by: Sebastian Herbszt
---
hw/ide/ahci.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index f937a92..8ae236a 100644
--- a/hw/ide/ahci.c
+++ b/
Every device that can do PCI should also be able to do IDE. So let's move
the IDE definitions over to pci.mak.
Signed-off-by: Alexander Graf
---
default-configs/arm-softmmu.mak |1 -
default-configs/i386-softmmu.mak |3 ---
default-configs/mips-softmmu.mak |3 ---
defaul
This patch adds an emulation layer for an ICH-9 AHCI controller. For now
this controller does not do IDE legacy emulation. It is a pure AHCI controller.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- rename IDEExtender to IDEBusOps and make a pointer (kraxel)
- make dma hooks explicit by pu
Calling isa_ide_init() twice with the same IRQ 13 fails:
qemu: hardware error: isa irq 13 already assigned
Use a different IRQ (14) for the second one to avoid this.
Signed-off-by: Hervé Poussineau
Cc: Alexander Graf
Signed-off-by: Andreas Färber
---
hw/ppc_prep.c |2 +-
1 files changed,
r3480 added this check to account for the entry vector 0xfff00100 to be
available for CPUs that need it. Today however, the NIP is not yet
initialized at this point (zero), so the check always triggers.
Cc: Hervé Poussineau
Cc: Alexander Graf
Signed-off-by: Andreas Färber
---
hw/ppc_prep.c |
Workaround the following error:
qemu: hardware error: register_ioport_read: invalid opaque
Signed-off-by: Hervé Poussineau
Signed-off-by: Andreas Färber
---
hw/ppc_prep.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 3073870..0c91
In order to switch from abondoned OpenHack'Ware to OpenBIOS firmware,
the PReP machine needs to be able to load an ELF BIOS.
ELF loading is adapted from ppc_newworld, the fallback mechanism from sun4m.
Note that since we must register the maximum amount of ROM before attempting
to load an ELF BIO
Hello,
Based on an earlier attempt of mine to make OpenBIOS work with -M prep,
with kind support from Hervé Poussineau here's an initial stab at
fixing the long-broken PReP emulation and preparing migration from
abandoned OpenHack'Ware to OpenBIOS as default FOSS firmware.
In particular a number
I use qemu-0.13.0, and I want to emulate SPARC system,
I did these:
1.qemu-img create solaris.img 10G
2.qemu-system-sparc -m 256 -hda solaris.img -boot d -cdrom
sol-9-905-sparc.iso
3.qemu reported "Unhandled Exception 0X0007", and then "Stopping
execution"
Any one known why this happened?
Thank
On Mon, Dec 13, 2010 at 03:43:44PM -0700, Cam Macdonell wrote:
> Do not call pci_update_mappings on the lower 32-bits of a 64-bit bar. Wait
> for the upper 32 or else Qemu will try to map on just the lower 32 which is
> probably going to corrupt memory.
>
> I was encountering crashes when mappi
On Mon, Dec 13, 2010 at 12:15:08PM -0700, Alex Williamson wrote:
> On Mon, 2010-12-13 at 21:06 +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 11:59:16AM -0700, Alex Williamson wrote:
> > > On Mon, 2010-12-13 at 20:54 +0200, Michael S. Tsirkin wrote:
> > > > On Mon, Dec 13, 2010 at 11:
On Mon, Dec 13, 2010 at 01:04:23PM -0700, Alex Williamson wrote:
> On Mon, 2010-11-08 at 13:22 +0200, Michael S. Tsirkin wrote:
> > On Mon, Oct 04, 2010 at 03:53:11PM -0600, Alex Williamson wrote:
> > > pcibus_dev_print() was erroneously retrieving the device bus
> > > number from the secondary bus
On Tue, 2010-12-14 at 06:46 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 01:04:23PM -0700, Alex Williamson wrote:
> > On Mon, 2010-11-08 at 13:22 +0200, Michael S. Tsirkin wrote:
> > > On Mon, Oct 04, 2010 at 03:53:11PM -0600, Alex Williamson wrote:
> > > > pcibus_dev_print() was erro
On Mon, Dec 13, 2010 at 09:49:21PM -0700, Alex Williamson wrote:
> On Tue, 2010-12-14 at 06:46 +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 13, 2010 at 01:04:23PM -0700, Alex Williamson wrote:
> > > On Mon, 2010-11-08 at 13:22 +0200, Michael S. Tsirkin wrote:
> > > > On Mon, Oct 04, 2010 at 03:
On Tue, 2010-12-14 at 06:43 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 12:15:08PM -0700, Alex Williamson wrote:
> > On Mon, 2010-12-13 at 21:06 +0200, Michael S. Tsirkin wrote:
> > > On Mon, Dec 13, 2010 at 11:59:16AM -0700, Alex Williamson wrote:
> > > > On Mon, 2010-12-13 at 20:54
On Tue, 2010-12-14 at 06:57 +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 13, 2010 at 09:49:21PM -0700, Alex Williamson wrote:
> > On Tue, 2010-12-14 at 06:46 +0200, Michael S. Tsirkin wrote:
> > > On Mon, Dec 13, 2010 at 01:04:23PM -0700, Alex Williamson wrote:
> > > > On Mon, 2010-11-08 at 13:22
Hi,
Which version of Qemu contains the Smbios code? If I have to get the code in my
repo, is there any place I can get the complete set of patches?
Thanks
Anjali
Hi,
Which version of Qemu contains the Smbios code? If I have to get the code in my
repo, is there any place I can get the complete set of patches?
Thanks
Anjali
On Mon, Dec 13, 2010 at 10:47 PM, Anjali Kulkarni wrote:
>
> Hi,
>
> Which version of Qemu contains the Smbios code? If I have to get the code in
> my repo, is there any place I can get the complete set of patches?
We've had SMBIOS support for a couple years, it should be in any of
the recent re
100 matches
Mail list logo