From: Alexander Graf
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
Signed-off-by: Kevin Wolf
---
default-configs/arm-softmmu.mak |1 -
default-configs/i386-softmmu.mak |3 ---
defau
From: Alexander Graf
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
Signed-off-by: Kevin Wolf
---
hw/ide/core.c | 734 -
From: Jes Sorensen
This patch re-factors img_create() moving the code doing the actual
work into block.c where it can be shared with QEMU. This is needed to
be able to create images from QEMU to be used for live snapshots.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
block.c|
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
block.c | 15 +++
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/block.c b/block.c
index a48b30c..0c14eee 100644
--- a/block.c
+++ b/block.c
@@ -2764,7 +2764,7 @@ int bdrv_img_create(con
From: Jes Sorensen
The monitor command is:
snapshot_blkdev [snapshot-file] [format]
Default format is qcow2. For now snapshots without a snapshot-file, eg
internal snapshots, are not supported.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
blockdev.c | 62
From: Alexander Graf
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
Signed-off-by: Kevin Wolf
---
hw/ide/cmd646.c |6 +-
hw/ide/core.c |
Signed-off-by: Kevin Wolf
---
qemu-io.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/qemu-io.c b/qemu-io.c
index 2318a28..65dee13 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -326,7 +326,7 @@ read_help(void)
" -l, -- length for pattern verification (only wit
From: Alexander Graf
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
Signed-off-by: Kevin Wolf
---
hw/ide/core.c | 20 ++--
hw/ide/internal.h |2 ++
2 fi
From: Alexander Graf
This patch adds the storage sata class id.
Signed-off-by: Alexander Graf
Signed-off-by: Kevin Wolf
---
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/
From: Sebastian Herbszt
Set SATA Mode Select to AHCI in the Address Map Register.
Signed-off-by: Sebastian Herbszt
Signed-off-by: Kevin Wolf
---
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
From: Stefan Hajnoczi
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 statist
From: Jes Sorensen
It doesn't really make sense for functions in qcow2.c to be named
qcow_ so convert the names to match correctly.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
block/qcow2-cluster.c |6 +-
block/qcow2-snapshot.c |6 +-
block/qcow2.c | 190 +
From: Stefan Hajnoczi
We register the vm change state handler in a PCI BAR map() function.
This function can be called multiple times throughout the lifetime of a
PCI IDE device. This results in duplicate vm change state handlers
being register, none of which are ever unregistered.
Instead, reg
From: Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
docs/specs/qed_spec.txt | 130 +++
1 files changed, 130 insertions(+), 0 deletions(-)
create mode 100644 docs/specs/qed_spec.txt
diff --git a/docs/specs/qed_spec.tx
From: Stefan Hajnoczi
This patch adds support for the qemu-img check command. It also
introduces a dirty bit in the qed header to mark modified images as
needing a check. This bit is cleared when the image file is closed
cleanly.
If an image file is opened and it has the dirty bit set, a consi
From: Jes Sorensen
In addition this adds missing braces to the function to be consistent
with the coding style.
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
block/qcow2.c | 60 +++-
1 files changed, 42 insertions(+), 18 deleti
From: Stefan Hajnoczi
This patch introduces the qed on-disk layout and implements image
creation. Later patches add read/write and other functionality.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
Makefile.objs |1 +
block/qed.c | 554 ++
From: Christoph Hellwig
Support discards via the WRITE SAME command with the unmap bit set, and
tell the initiator about the support for it via the block limit and the
new thin provisioning EVPD pages. Also fix the comment which incorrectly
describedthe block limits EVPD page.
Signed-off-by: Ch
Am 17.12.2010 um 17:48 schrieb Peter Maydell:
On 17 December 2010 16:19, Andreas Färber
wrote:
Can this patch be applied? (There are more ARM/softfloat patches
in my queue which will break it again otherwise...)
If we're engaging into refactoring the softfloat library, I still
have a
larg
From: Stefan Hajnoczi
For some reason the carets ('^') in the QED specification disappeared.
This patch puts them back.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
docs/specs/qed_spec.txt |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/specs/q
Am 17.12.2010 um 14:12 schrieb Kevin Wolf:
Am 16.12.2010 16:54, schrieb Stefan Hajnoczi:
We register the vm change state handler in a PCI BAR map() function.
This function can be called multiple times throughout the lifetime
of a
PCI IDE device. This results in duplicate vm change state han
From: Christoph Hellwig
Add a new bdrv_discard method to free blocks in a mapping image, and a new
drive property to set the granularity for these discard. If no discard
granularity support is set discard support is disabled.
Signed-off-by: Christoph Hellwig
Signed-off-by: Kevin Wolf
---
blo
From: Alexander Graf
This patch enables AHCI for all machines supporting PCI.
Signed-off-by: Alexander Graf
Signed-off-by: Kevin Wolf
---
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 d7
On 12/17/2010 11:44 AM, Kevin Wolf wrote:
The following changes since commit 9d861fa595c93f22d1d55b723a691531c36c9672:
Merge remote branch 'arm/for-anthony' into staging (2010-12-17 08:25:17
-0600)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
From: Christoph Hellwig
Add support to discard blocks in a raw image residing on an XFS filesystem
by calling the XFS_IOC_UNRESVSP64 ioctl to punch holes. Support for other
hole punching mechanisms can be added when they become available.
Signed-off-by: Christoph Hellwig
Signed-off-by: Kevin W
From: Alexander Graf
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
Signed-off-by: Kevin Wolf
---
hw/pci.h |1 +
1 files changed, 1 inser
Am 17.12.2010 um 19:46 schrieb Kevin Wolf:
Am 17.12.2010 19:35, schrieb Andreas Färber:
Am 17.12.2010 um 14:12 schrieb Kevin Wolf:
Am 16.12.2010 16:54, schrieb Stefan Hajnoczi:
We register the vm change state handler in a PCI BAR map()
function.
This function can be called multiple times t
Am 17.12.2010 um 19:44 schrieb Kevin Wolf:
Signed-off-by: Kevin Wolf
---
hw/ide/cmd646.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index 89ba836..5d5464a 100644
--- a/hw/ide/cmd646.c
+++ b/hw/ide/cmd646.c
@@ -255,9 +255,9 @@ sta
From: Anthony Liguori
Zero clusters are similar to unallocated clusters except instead of reading
their value from a backing file when one is available, the cluster is always
read as zero.
This implements read support only. At this stage, QED will never write a
zero cluster.
Signed-off-by: Ant
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34 PM, Andreas Färber wrote:
Fix this by removing any \r at end of line.
Why isn't cygwin (or whatever you're using) removing it?
I believe Cygwin had an option to choose the line ending style once
during setup. By default it uses
On Wed, Dec 15, 2010 at 5:47 PM, Fabien Chouteau wrote:
> On 12/13/2010 07:18 PM, Blue Swirl 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:
>
Am 17.12.2010 19:35, schrieb Andreas Färber:
> Am 17.12.2010 um 14:12 schrieb Kevin Wolf:
>
>> Am 16.12.2010 16:54, schrieb Stefan Hajnoczi:
>>> We register the vm change state handler in a PCI BAR map() function.
>>> This function can be called multiple times throughout the lifetime
>>> of a
>>
From: Jes Sorensen
Signed-off-by: Jes Sorensen
Signed-off-by: Kevin Wolf
---
qemu-img.c | 127 +--
1 files changed, 62 insertions(+), 65 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 0ff179f..0b871d8 100644
--- a/qemu-img.c
++
From: Jes Sorensen
This cleans up the handling of image size in img_create() by parsing
the value early, and then only setting it once if a value has been
added as the last argument to the command line.
Signed-off-by: Jes Sorensen
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
qe
Am 17.12.2010 um 20:01 schrieb Stefan Weil:
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34 PM, Andreas Färber wrote:
Fix this by removing any \r at end of line.
Why isn't cygwin (or whatever you're using) removing it?
I believe Cygwin had an option to choose the line endi
On Fri, Dec 17, 2010 at 09:01:31AM -0600, Anthony Liguori wrote:
> On 12/17/2010 07:39 AM, Alon Levy wrote:
> >Adding a chardev backend for spice, for usage by spice vdagent in
> >conjunction with a properly named virtio-serial device.
> >
> >Example usage:
> > qemu -device virtio-serial -chardev
The following changes since commit e59d688ad112719cb264f395b1f5895866ebf309:
docs: Fix missing carets in QED specification (2010-12-17 17:05:06 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Kevin Wolf (2):
ide: Fix build for cmd646.c
i
Signed-off-by: Kevin Wolf
---
hw/ide/via.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ide/via.c b/hw/ide/via.c
index 5b70bd2..0e90679 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -150,7 +150,7 @@ static void vt82c686b_init_ports(PCIIDEState *d) {
bmdm
From: Alexander Graf
ATAPI also can do ncq, so let's expose the capability.
This patch makes CD-ROM support work on Windows 7 for me.
Signed-off-by: Alexander Graf
Signed-off-by: Kevin Wolf
---
hw/ide/core.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/ide
On 12/17/2010 01:38 PM, Kevin Wolf wrote:
The following changes since commit e59d688ad112719cb264f395b1f5895866ebf309:
docs: Fix missing carets in QED specification (2010-12-17 17:05:06 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Pushed
Add documentation for the usb-ccid device and accompanying two card
devices, ccid-card-emulated and ccid-card-passthru.
---
docs/ccid.txt | 135 +
1 files changed, 135 insertions(+), 0 deletions(-)
create mode 100644 docs/ccid.txt
diff --g
The passthru ccid card is a device sitting on the usb-ccid bus and
using a chardevice to communicate with a remote device using the
VSCard protocol defined in libcacard/vscard_common.h
Usage docs available in following patch in docs/ccid.txt
Signed-off-by: Alon Levy
---
Makefile.objs
This devices uses libcacard (internal) to emulate a smartcard conforming
to the CAC standard. It attaches to the usb-ccid bus. Usage instructions
(example command lines) are in the following patch in docs/ccid.txt. It
uses libcacard which uses nss, so it can work with both hw cards and
certificates
This patchset adds three new devices, usb-ccid, ccid-card-passthru and
ccid-card-emulated, providing a CCID bus, a simple passthru protocol
implementing card requiring a client, and a standalone emulated card.
It also introduces a new directory libcaccard with CAC card emulation,
CAC is a type of
Am 17.12.2010 20:33, schrieb Andreas Färber:
Am 17.12.2010 um 20:01 schrieb Stefan Weil:
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34 PM, Andreas Färber wrote:
Fix this by removing any \r at end of line.
Why isn't cygwin (or whatever you're using) removing it?
I believ
Signed-off-by: Kevin Wolf
---
hw/ide/via.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ide/via.c b/hw/ide/via.c
index 5b70bd2..0e90679 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -150,7 +150,7 @@ static void vt82c686b_init_ports(PCIIDEState *d) {
bmdm
Blue Swirl wrote:
> ESP and Lance DMA controllers are not identical.
>
> Separate the controllers on VMState and instantiation level.
>
> NB: This change breaks savevm and migration compatibility.
>
> Signed-off-by: Blue Swirl
> ---
> Perhaps the compat properties could be used to retain compatibi
One possible way to get X11-forwarding back on qemu master is to disable
zoom by this patch.
But I do not know why the do_sdl_resize function should be problematic.
There is probably a better solution.
** Patch added: "disable zoom"
https://bugs.launchpad.net/qemu/+bug/691424/+attachment/1769
From: Stefan Hajnoczi
This patch implements the read/write state machine. Operations are
fully asynchronous and multiple operations may be active at any time.
Allocating writes lock tables to ensure metadata updates do not
interfere with each other. If two allocating writes need to update the
On 12/17/2010 08:01 PM, Stefan Weil wrote:
I currently have no possibility to run tests with other awk
implementations,
so I cannot tell whether \012 is needed at all (\r is not a new invention).
Do all awk versions support regular expressions with characters in
octal encoding?.
The awk manual
It's an indirect call to qemu_malloc, which never returns an error.
Signed-off-by: Kevin Wolf
---
hw/xen_disk.c | 17 ++---
qemu-img.c|5 +
qemu-io.c |2 --
qemu-nbd.c|2 --
4 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/hw/xen_disk.c b/
Signed-off-by: Kevin Wolf
Acked-by: Andreas Färber
---
hw/ide/cmd646.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index 89ba836..5d5464a 100644
--- a/hw/ide/cmd646.c
+++ b/hw/ide/cmd646.c
@@ -255,9 +255,9 @@ static int pci_cmd646
On Fri, Dec 17, 2010 at 8:36 PM, Bob Breuer wrote:
> Blue Swirl wrote:
>> ESP and Lance DMA controllers are not identical.
>>
>> Separate the controllers on VMState and instantiation level.
>>
>> NB: This change breaks savevm and migration compatibility.
>>
>> Signed-off-by: Blue Swirl
>> ---
>>
Am 17.12.2010 um 20:54 schrieb Stefan Weil:
Am 17.12.2010 20:33, schrieb Andreas Färber:
Am 17.12.2010 um 20:01 schrieb Stefan Weil:
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34 PM, Andreas Färber wrote:
Fix this by removing any \r at end of line.
Why isn't cygwin (or
Call error_set_progname during the qemu-img initialization, so that error
messages printed with error_report() use the right prefix.
Signed-off-by: Kevin Wolf
---
qemu-img.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index 1d936ed..f576cfb
A CCID device is a smart card reader. It is a USB device, defined at [1].
This patch introduces the usb-ccid device that is a ccid bus. Next patches will
introduce two card types to use it, a passthru card and an emulated card.
[1] http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_R
On 12/17/2010 10:00 PM, Andreas Färber wrote:
Am 17.12.2010 um 20:54 schrieb Stefan Weil:
Am 17.12.2010 20:33, schrieb Andreas Färber:
Am 17.12.2010 um 20:01 schrieb Stefan Weil:
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34 PM, Andreas Färber wrote:
Fix this by removing
Signed-off-by: Kevin Wolf
---
hw/ide/cmd646.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index 89ba836..5d5464a 100644
--- a/hw/ide/cmd646.c
+++ b/hw/ide/cmd646.c
@@ -255,9 +255,9 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev
Avoid a warning with GCC 4.6.0:
/src/qemu/block.c: In function 'bdrv_img_create':
/src/qemu/block.c:2862:25: error: variable 'fmt' set but not used
[-Werror=unused-but-set-variable]
CC: Kevin Wolf
Signed-off-by: Blue Swirl
---
block.c |5 -
1 files changed, 0 insertions(+), 5 deletions(
Avoid these warnings with GCC 4.6.0:
/src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':
/src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used
[-Werror=unused-but-set-variable]
/src/qemu/hw/ide/ahci.c: In function 'handle_cmd':
/src/qemu/hw/ide/ahci.c:1103:19: error: variable '
Am 17.12.2010 um 22:25 schrieb Paolo Bonzini:
On 12/17/2010 10:00 PM, Andreas Färber wrote:
Am 17.12.2010 um 20:54 schrieb Stefan Weil:
Am 17.12.2010 20:33, schrieb Andreas Färber:
Am 17.12.2010 um 20:01 schrieb Stefan Weil:
Am 17.12.2010 14:44, schrieb Paolo Bonzini:
On 12/17/2010 02:34
Don't reinvent C99 types like uint8_t by typedef'ing uint8 etc.
On BeOS and Haiku, system headers {be,os}/support/SupportDefs.h
do define [u]int{8,16,32,64}, but they define [u]int32 as long,
so assumptions that int32 and int can be used interchangeably
must be avoided. Inspired by mmlr's original
On 17.12.2010, at 22:40, Blue Swirl wrote:
> Avoid these warnings with GCC 4.6.0:
> /src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':
> /src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used
> [-Werror=unused-but-set-variable]
> /src/qemu/hw/ide/ahci.c: In function 'handle_c
On 12/17/2010 11:17 PM, Andreas Färber wrote:
Example (needs bash's echo -e):
# create line with crlf ending:
echo -e 'include xy\r' >file
# returns xy\r:
awk '/^include / {ORS=" "; print $2}' file | od
000 074570 020015
004
# should return xy:
awk '/^include / {ORS=" "; sub(/\r$/,
On 17 December 2010 17:54, Andreas Färber wrote:
> Am 17.12.2010 um 17:48 schrieb Peter Maydell:
>> On the types issue, at the moment softfloat uses "int32" etc for
>> "a handy type holding at least 32 bits", and "bits32" for "exactly
>> 32 bits". So I guess changing the 'bits' types to the POSIX
On Fri, Dec 17, 2010 at 11:32:03PM +, Peter Maydell wrote:
> On 17 December 2010 17:54, Andreas Färber wrote:
> > My patch does not touch the bits* types. I didn't notice any problem there.
> >
> > I replaced int32 by int32_t, int64 by int64_t etc. No sane code puts more
> > than 32 bits into
Hello,
Except for some fs/iso9660/ issues, ppc64 guests are booting for me
with the last five OpenBIOS patches posted.
You can find them together with the config change to use fs/grubfs/
here:
git://repo.or.cz/openbios/afaerber.git ppc64-boot
Please test your favorite ppc64 kernels and
101 - 167 of 167 matches
Mail list logo