bdrv_aio_noop_em() could be useful for benchmarking and optimizing the
aio code. It serves as a cheap operation that lets us see the cost of
the aio roundtrip.
Stefan
Blue Swirl writes:
> On 5/9/10, chen huacai wrote:
>> This patch add initial support of VIA IDE controller used by fulong mini pc
>>
>> Signed-off-by: Huacai Chen
>> -
[...]
>> diff --git a/hw/ide/via.c b/hw/ide/via.c
>> new file mode 100644
>> index 000..9adc5b5
>> --- /dev/null
Hi,
On 8 May 2010 00:39, Jan Kiszka wrote:
> I wondered why we have the post_save callback in vmstate. Conceptually,
> it made no sense to me. So I grep'ed for its users - and found exactly
> one: tmp105. As suspected, only "strange" code was found:
>
> static void tmp105_post_save(void *opaque)
>> + s->pci = qemu_mallocz(sizeof(*s->pci));
>> + assert(s->pci != NULL);
>> + bonito_state = s;
>> +
>> + /* get the north bridge pci bus */
>> + s->pci->bus = pci_register_bus(NULL, "pci", pci_bonito_set_irq,
>> + pci_bonito_map_irq, pic, 0x
On Mon, May 10, 2010 at 11:36:37AM +0300, Gleb Natapov wrote:
> This patch adds native support for booting from virtio disks to Seabios.
>
> Signed-off-by: Gleb Natapov
Thanks - commit 89acfa3f. The patch had some compile errors on gcc3.4
and gcc4.5 - I went ahead and committed an update to fix
On 11.05.2010, at 01:19, QiaoChong wrote:
> When ahci init ,driver will send ATA_SRST command,ahci device report device
> type through port's sig register.
> Ahci disk lookup change from IF_SD to IF_SCSI now,because IF_SD does not
> support cdrom media.
> I just copy ide_atapi_cmd from hw/ide/c
move ahci pci device id define into pci_ids.h,add warning messages for
unsupported features.
Signed-off-by: QiaoChong
---
hw/ahci.c| 10 +-
hw/pci_ids.h |1 +
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/hw/ahci.c b/hw/ahci.c
index cb4a851..e1aed4a 100644
---
use -drive if=sd,file=diskname to add a ahci disk into qemu.
Signed-off-by: QiaoChong
---
Makefile.target |4 +
hw/ahci.c | 805 +++
2 files changed, 809 insertions(+), 0 deletions(-)
create mode 100644 hw/ahci.c
diff --git a/Makef
ahci disk look up from IF_SCSI now.
test a sata disk:
./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive
if=scsi,file=/tmp/disk
test a sata cd:
./i386-softmmu/qemu -cdrom KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -drive
if=scsi,media=cdrom,file=KNOPPIX_V6.0.1CD-2009-02-08-EN.iso
Signe
When ahci init ,driver will send ATA_SRST command,ahci device report device
type through port's sig register.
Ahci disk lookup change from IF_SD to IF_SCSI now,because IF_SD does not
support cdrom media.
I just copy ide_atapi_cmd from hw/ide/core.c into hw/ahci.c,change a
little,then the cdrom c
From: Sebastian Herbszt
- debug output with DEBUG_AHCI
- set port count to 4
- change return value of PxSSTS to include SPD and IPM
- change cap and version default values according to Intel #301473-002
Signed-off-by: QiaoChong
---
hw/ahci.c | 68 -
test like this:
dd if=/dev/zero of=/tmp/disk bs=1M count=100
./i386-softmmu/qemu -cdrom
/mnt/hdb1/knoppix-dvd/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso -boot d -drive
if=sd,file=/tmp/disk
Signed-off-by: QiaoChong
---
default-configs/i386-softmmu.mak |2 ++
hw/pc.c |
Signed-off-by: QiaoChong
---
hw/ahci.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ahci.c b/hw/ahci.c
index b6a81af..cb4a851 100644
--- a/hw/ahci.c
+++ b/hw/ahci.c
@@ -676,6 +676,7 @@ static void handle_cmd(AHCIState *s,int port,int slot)
On 11.05.2010, at 00:13, Sebastian Herbszt wrote:
> Alexander Graf wrote:
>> Hi Chong,
>>
>> On 10.05.2010, at 13:55, QiaoChong wrote:
>>
>> > When ahci init ,driver will send ATA_SRST command,ahci device report
>> > device type through port's sig register.
>> > Ahci disk lookup change from IF
On Mon, May 10, 2010 at 5:59 AM, Avi Kivity wrote:
> On 04/21/2010 08:53 PM, Cam Macdonell wrote:
>>
>> Support an inter-vm shared memory device that maps a shared-memory object
>> as a
>> PCI device in the guest. This patch also supports interrupts between
>> guest by
>> communicating over a uni
If the init function of a device fails, as might happen with device
assignment, we never undo the work done by do_pci_register_device().
This not only causes a bit of a memory leak, but also leaves a bogus
pointer in the bus devices array that can cause a segfault or
garbage data from 'info pci'.
Signed-off-by: Adam Lackorzynski
---
target-arm/translate.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 0eccca5..afd6716 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -6344,7 +6344,11 @
On 11.05.2010, at 00:13, Sebastian Herbszt wrote:
> Alexander Graf wrote:
>> Hi Chong,
>>
>> On 10.05.2010, at 13:55, QiaoChong wrote:
>>
>> > When ahci init ,driver will send ATA_SRST command,ahci device report
>> > device type through port's sig register.
>> > Ahci disk lookup change from IF
Computing carry is trivial for some inputs. By avoiding an
external function call, we generate near-optimal code for
the common cases of add+addx (double-word arithmetic) and
cmp+addx (a setcc pattern).
Signed-off-by: Richard Henderson
---
target-sparc/helper.h|2 +-
target-sparc/op_hel
The first patch is required in order to fix TCGv_i32/_i64 type errors.
The second patch fixes some mistakes I noticed with ADDX carry generation.
The third patch improves code generation for some common cases. With
Aurelien's tcg-optimization patches we get nearly optimal code, and
it isn't half
Return a target_ulong from compute_C_icc to match the width of the users.
Signed-off-by: Richard Henderson
---
target-sparc/helper.h|2 +-
target-sparc/op_helper.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
inde
Use int32 types instead of target_ulong when computing ICC. This
simplifies the generated code for 32-bit host and 64-bit guest.
Use the same simplified expressions for ICC as were already used
for XCC in carry flag generation.
ADDX ICC carry generation was using the same routines as ADD ICC,
whi
Alexander Graf wrote:
Hi Chong,
On 10.05.2010, at 13:55, QiaoChong wrote:
> When ahci init ,driver will send ATA_SRST command,ahci device report device
type through port's sig register.
> Ahci disk lookup change from IF_SD to IF_SCSI now,because IF_SD does not
support cdrom media.
> I just co
On 05/10/2010 05:03 PM, Alexander Graf wrote:
On 10.05.2010, at 23:59, Anthony Liguori wrote:
On 05/10/2010 04:51 PM, Alexander Graf wrote:
Thanks to recent improvements, qemu flushes guest data to disk when the guest
tells us to do so.
This is great if we care about data consistenc
On 10.05.2010, at 23:59, Anthony Liguori wrote:
> On 05/10/2010 04:51 PM, Alexander Graf wrote:
>> Thanks to recent improvements, qemu flushes guest data to disk when the guest
>> tells us to do so.
>>
>> This is great if we care about data consistency on host disk failures. In
>> cases
>> wher
On 05/10/2010 04:51 PM, Alexander Graf wrote:
Thanks to recent improvements, qemu flushes guest data to disk when the guest
tells us to do so.
This is great if we care about data consistency on host disk failures. In cases
where we don't it just creates additional overhead for no net win. One su
Add interface type IF_SATA.
Signed-off-by: Sebastian Herbszt
diff --git a/sysemu.h b/sysemu.h
index fa921df..b88bae9 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -151,7 +151,7 @@ extern unsigned int nb_prom_envs;
typedef enum {
IF_NONE,
IF_IDE, IF_SCSI, IF_FLOPPY, IF_PFLASH, IF_MTD, IF_SD, I
On 05/10/2010 04:45 PM, Izik Eidus wrote:
On Mon, 10 May 2010 15:24:20 -0500
Anthony Liguori wrote:
On 04/13/2010 04:33 AM, Izik Eidus wrote:
From f881b371e08760a67bf1f5b992a586c3de600f7a Mon Sep 17 00:00:00
2001 From: Izik Eidus
Date: Tue, 13 Apr 2010 12:24:57 +0300
Subject: [PA
We need to be able to do nothing in AIO fashion. Since I suspect this
could be useful for more cases than the non flushing, I figured I'd
create a new function that does everything AIO-like, but doesn't do
anything.
Signed-off-by: Alexander Graf
---
block.c | 18 ++
block.h |
Usually the guest can tell the host to flush data to disk. In some cases we
don't want to flush though, but try to keep everything in cache.
So let's add a new parameter to -drive that allows us to set the flushing
behavior to "on" or "off", defaulting to enabling the guest to flush.
Signed-off-b
Thanks to recent improvements, qemu flushes guest data to disk when the guest
tells us to do so.
This is great if we care about data consistency on host disk failures. In cases
where we don't it just creates additional overhead for no net win. One such use
case is the building of appliances in SUS
On Mon, 10 May 2010 15:24:20 -0500
Anthony Liguori wrote:
> On 04/13/2010 04:33 AM, Izik Eidus wrote:
> > From f881b371e08760a67bf1f5b992a586c3de600f7a Mon Sep 17 00:00:00
> > 2001 From: Izik Eidus
> > Date: Tue, 13 Apr 2010 12:24:57 +0300
> > Subject: [PATCH] fix migration with large mem
> >
>
On Mon, 2010-05-10 at 23:05 +0200, Sebastian Herbszt wrote:
> Kevin O'Connor wrote:
> > On Fri, May 07, 2010 at 01:38:55PM -0600, Alex Williamson wrote:
> >> Avoid counting the io hole as part of ram, a vm started with 4G
> >> should report 4G in smbios, not 4.5G.
> >>
> >> Signed-off-by: Alex Wil
Kevin O'Connor wrote:
On Fri, May 07, 2010 at 01:38:55PM -0600, Alex Williamson wrote:
Avoid counting the io hole as part of ram, a vm started with 4G
should report 4G in smbios, not 4.5G.
Signed-off-by: Alex Williamson
Looks okay to me. If there are no other comments, I'll commit in the
ne
On 5/10/10, Artyom Tarasenko wrote:
> 2010/5/10 Blue Swirl :
>
> > On 5/10/10, Artyom Tarasenko wrote:
> >> 2010/5/9 Blue Swirl :
> >> > On 5/9/10, Artyom Tarasenko wrote:
> >> >> 2010/5/9 Blue Swirl :
> >> >>
> >> >> > On 5/8/10, Artyom Tarasenko wrote:
> >> >> >> On the real hardw
Signed-off-by: Blue Swirl
---
hw/acpi.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/hw/acpi.c b/hw/acpi.c
index e3b63b7..bb2974e 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -76,8 +76,6 @@ typedef struct PIIX4PMState {
#define SMBHSTDAT1 0x06
#define SMBBLKDAT 0
2010/5/10 Blue Swirl :
> On 5/10/10, Artyom Tarasenko wrote:
>> 2010/5/9 Blue Swirl :
>> > On 5/9/10, Artyom Tarasenko wrote:
>> >> 2010/5/9 Blue Swirl :
>> >>
>> >> > On 5/8/10, Artyom Tarasenko wrote:
>> >> >> On the real hardware (SS-5, LX) the MMU is not padded, but aliased.
>> >> >>
Make gpe and pci0_status fields in PIIX4PMState.
Signed-off-by: Blue Swirl
---
hw/acpi.c | 93 +---
hw/pc.c |1 -
hw/pc.h |1 -
hw/pci.c | 12 +--
hw/pci.h |6 ++-
5 files changed, 63 insertions(+), 50 deletions(-)
Le Mon, 10 May 2010 22:12:33 +0200, Stefan Weil a écrit :
> The fix is based on a patch from Kevin Wolf. Here his comment:
>
> "The number of blocks needs to be rounded up to cover all of the
> virtual hard
> disk. Without this fix, we can't even open our own images if their
> size is not
> a multi
Add required infrastructure and modify create/open2 and mkdir per the new
security model.
Signed-off-by: Venkateswararao Jujjuri
---
hw/file-op-9p.h | 23 +-
hw/virtio-9p-local.c | 117 +
hw/virtio-9p.c | 42
On Mon, May 10, 2010 at 12:07:40PM +0200, Kevin Wolf wrote:
> >
> > -info_begin=read_off(s->fd);
> > -if(info_begin==0)
> > - goto fail;
> > -if(lseek(s->fd,info_begin,SEEK_SET)<0)
> > - goto fail;
>
> We seek to info_begin.
>
> > -if(read_uint32(s->fd)!=0x100)
> > - goto
This patch series introduces the security model for VirtFS.
Brief description of this patch series.
It introduces two type of security models for VirtFS.
They are: mapped and passthrough.
The following is common to both security models.
* Client's VFS determines/enforces the access control.
L
Hi Chong,
On 10.05.2010, at 13:55, QiaoChong wrote:
> When ahci init ,driver will send ATA_SRST command,ahci device report device
> type through port's sig register.
> Ahci disk lookup change from IF_SD to IF_SCSI now,because IF_SD does not
> support cdrom media.
> I just copy ide_atapi_cmd fro
Signed-off-by: Venkateswararao Jujjuri
---
hw/file-op-9p.h |4 +-
hw/virtio-9p-local.c | 74 +
hw/virtio-9p.c | 24 +++-
3 files changed, 75 insertions(+), 27 deletions(-)
diff --git a/hw/file-op-9p.h b/hw/file-op-9p.
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p.c | 185 ++--
hw/virtio-9p.h | 92
2 files changed, 138 insertions(+), 139 deletions(-)
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c
index 62be770..365259c
The new option is:
-fsdev local,id=jvrao,path=/tmp/,security_model=[mapped|passthrough]
-virtfs local,path=/tmp/,security_model=[mapped|passthrough],mnt_tag=v_tmp.
In the case of mapped security model, files are created with QEMU user
credentials and the client-user's credentials are saved in ext
On 04/13/2010 04:33 AM, Izik Eidus wrote:
From f881b371e08760a67bf1f5b992a586c3de600f7a Mon Sep 17 00:00:00 2001
From: Izik Eidus
Date: Tue, 13 Apr 2010 12:24:57 +0300
Subject: [PATCH] fix migration with large mem
In cases of guests with large mem that have pages
that all their bytes content ar
In the mapped security model all the special files are created as regular files
on the fileserver and appropriate mode bits are added to the extended
attributes. These extended attributes are used to present this file
as special file to the client.
Signed-off-by: Venkateswararao Jujjuri
---
hw/f
Signed-off-by: Venkateswararao Jujjuri
---
hw/virtio-9p-local.c | 67 +++---
1 files changed, 63 insertions(+), 4 deletions(-)
diff --git a/hw/virtio-9p-local.c b/hw/virtio-9p-local.c
index 89b17f0..529de73 100644
--- a/hw/virtio-9p-local.c
+++ b/hw/
On 05/04/2010 07:20 AM, Jan Kiszka wrote:
Ensure that pending requests of an SCSI disk are purged on system reset
and also restore max_lba. The latter is no only present in the reset
handler as that one is called after init as well.
Signed-off-by: Jan Kiszka
Applied all (including v2 of 5/
On 05/04/2010 06:09 AM, Amit Shah wrote:
The iov functions can be useful to other code as well.
Signed-off-by: Amit Shah
CC: Christoph Hellwig
Applied. Thanks.
Regards,
Anthony Liguori
---
hw/iov.c => iov.c |0
hw/iov.h => iov.h |0
2 files changed, 0 insertions(+), 0 de
On 05/04/2010 06:20 AM, Markus Armbruster wrote:
Commit f3546deb replaced host_net_redir by hostfwd_add,
hostfwd_remove, but neglected to update documentation.
Signed-off-by: Markus Armbruster
Applied all. Thanks.
Regards,
Anthony Liguori
---
qemu-monitor.hx | 13 ++---
1
On 04/18/2010 02:21 PM, Shahar Havivi wrote:
Patch add QEMUPutKbdEntry structure - handling each keyboard entry, the
structure handled
by qemu tail queue.
Adding a new keyboard add to the list and select it, removing keyboard select
the previous
keyboard in list.
Signed-off-by: Shahar Havivi
The fix is based on a patch from Kevin Wolf. Here his comment:
"The number of blocks needs to be rounded up to cover all of the virtual hard
disk. Without this fix, we can't even open our own images if their size is not
a multiple of the block size."
While Kevin's patch addressed vdi_create, my m
On 5/10/10, John Vele wrote:
> Greetings,
>
> I'm using qemu user mode for i386 and I would like to print the opcodes of
> an
> input executable one bye one before any translation.
> Is the file target-i386/translate.c the one that I shall edit? The function
> disas_insn()
> in the same file is t
Greetings,
I'm using qemu user mode for i386 and I would like to print the opcodes of
an
input executable one bye one before any translation.
Is the file target-i386/translate.c the one that I shall edit? The function
disas_insn()
in the same file is the appropriate one?
Thanx in advance
Signed-off-by: Blue Swirl
---
Makefile.objs |2 ++
Makefile.target |2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index ecdd53e..110f8fd 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -226,6 +226,8 @@ sound-obj-$(CONFIG_CS4231A) +=
The VHD algorithm calculates a disk geometry
which is usually smaller than the requested size.
QEMU tried to round up but failed for certain sizes:
qemu-img create -f vpc disk.vpc 9437184
would create an image with 9435136 bytes
(which is too small for qemu-img convert).
Instead of hacking the g
On 5/9/10, Shin-ichiro KAWASAKI wrote:
> In linux kernel v2.6.33, sm501 frame buffer driver modified to support
> 2D graphics engine on sm501 chip. One example is "fill rectangle" operation.
> But current qemu's sm501 emulation doesn't support it. This results in
> graphics console disturbanc
On 5/9/10, chen huacai wrote:
> This patch add initial support of VIA IDE controller used by fulong mini pc
>
> Signed-off-by: Huacai Chen
> -
> diff --git a/Makefile.objs b/Makefile.objs
> index ecdd53e..75be9ce 100644
> --- a/Makefile.objs
> +++ b/Makefile.objs
> @@ -195,6 +195,7 @@
Hi Bruce,
On 05/10/2010 02:07 PM, Bruce Rogers wrote:
I know this behavior has worked this way all along, but I wanted to bring up
the following concern and float a few ideas about possible solutions. Please
provide your perspective, opinion, etc.
qemu (or qemu-kvm) users can easily get into
On 5/9/10, chen huacai wrote:
> This patch add initial support of vt82686b south bridge used by fulong mini pc
>
> Signed-off-by: Huacai Chen
> -
> diff --git a/Makefile.target b/Makefile.target
> index fc4c59f..08968d6 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -219,7
On 5/9/10, chen huacai wrote:
> This patch add initial support of bonito north bridge used by fulong mini pc
>
> Signed-off-by: Huacai Chen
> -
> diff --git a/Makefile.target b/Makefile.target
> index c092900..fc4c59f 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -218,7 +
I know this behavior has worked this way all along, but I wanted to bring up
the following concern and float a few ideas about possible solutions. Please
provide your perspective, opinion, etc.
qemu (or qemu-kvm) users can easily get into trouble when they don't specifying
the mac address for t
On 5/10/10, Mark Cave-Ayland wrote:
> Blue Swirl wrote:
>
>
> > Thanks a lot, with this patch my tests passed! I applied the combined
> patch.
> >
>
> Yes, I definitely see an improvement with this patch - at least my Debian
> lenny SPARC boot cd doesn't randomly kernel panic any more. It looks a
On 5/10/10, Artyom Tarasenko wrote:
> 2010/5/9 Blue Swirl :
> > On 5/9/10, Artyom Tarasenko wrote:
> >> 2010/5/9 Blue Swirl :
> >>
> >> > On 5/8/10, Artyom Tarasenko wrote:
> >> >> On the real hardware (SS-5, LX) the MMU is not padded, but aliased.
> >> >> Software shouldn't use aliased
On Mon, May 10, 2010 at 11:52 AM, Anthony Liguori wrote:
> On 05/10/2010 12:43 PM, Cam Macdonell wrote:
>>
>> On Mon, May 10, 2010 at 11:25 AM, Anthony Liguori
>> wrote:
>>
>>>
>>> On 05/10/2010 11:59 AM, Avi Kivity wrote:
>>>
On 05/10/2010 06:38 PM, Anthony Liguori wrote:
>
>>
On 05/10/2010 12:43 PM, Cam Macdonell wrote:
On Mon, May 10, 2010 at 11:25 AM, Anthony Liguori wrote:
On 05/10/2010 11:59 AM, Avi Kivity wrote:
On 05/10/2010 06:38 PM, Anthony Liguori wrote:
Otherwise, if the BAR is allocated during initialization, I would have
to
Anthony Liguori writes:
> On 04/21/2010 03:28 AM, Daniel P. Berrange wrote:
>> On Tue, Apr 20, 2010 at 06:09:37PM -0300, Luiz Capitulino wrote:
[...]
>> Wouldn't it be nicer to return strerror_r() output instead of errno
>> names ?
>>
>
> Both are equally wrong :-)
>
> QMP should insult user
Luiz Capitulino writes:
> On Tue, 04 May 2010 16:56:19 -0500
> Anthony Liguori wrote:
>
>> On 05/04/2010 03:30 PM, Luiz Capitulino wrote:
>> >
>> > StateVmSaveFailed is not like CommandFailed, there are five errors
>> > in do_savevm() and StateVmSaveFailed happens to be one of them.
>> >
>> >
On Mon, May 10, 2010 at 11:25 AM, Anthony Liguori wrote:
> On 05/10/2010 11:59 AM, Avi Kivity wrote:
>>
>> On 05/10/2010 06:38 PM, Anthony Liguori wrote:
>>>
> Otherwise, if the BAR is allocated during initialization, I would have
> to use MAP_FIXED to mmap the memory. This is what I did
Anthony Liguori writes:
> On 05/03/2010 08:06 AM, Markus Armbruster wrote:
>> Luiz Capitulino writes:
>>
>>
>>> We need to expose errno in QMP, for three reasons:
>>>
>>>1. Some error handling functions print errno codes to the user,
>>> while it's debatable whether this is good or
On 05/10/2010 11:59 AM, Avi Kivity wrote:
On 05/10/2010 06:38 PM, Anthony Liguori wrote:
Otherwise, if the BAR is allocated during initialization, I would have
to use MAP_FIXED to mmap the memory. This is what I did before the
qemu_ram_mmap() function was added.
What would happen to any dat
Am 10.05.2010 13:21, schrieb chen huacai:
--- a/hw/mips.h
+++ b/hw/mips.h
@@ -5,6 +5,9 @@
/* gt64xxx.c */
PCIBus *pci_gt64120_init(qemu_irq *pic);
+/* bonito.c */
+PCIBus *bonito_init_2e(qemu_irq pic);
+
/* ds1225y.c */
void *ds1225y_init(target_phys_addr_t mem_base, const char *filename);
On 05/10/2010 06:38 PM, Anthony Liguori wrote:
Otherwise, if the BAR is allocated during initialization, I would have
to use MAP_FIXED to mmap the memory. This is what I did before the
qemu_ram_mmap() function was added.
What would happen to any data written to the BAR before the the
handsh
On 05/10/2010 11:20 AM, Cam Macdonell wrote:
On Mon, May 10, 2010 at 9:38 AM, Anthony Liguori wrote:
On 05/10/2010 10:28 AM, Avi Kivity wrote:
On 05/10/2010 06:22 PM, Cam Macdonell wrote:
+
+/* if the position is -1, then it's shared memory region f
On Mon, May 10, 2010 at 10:40 AM, Avi Kivity wrote:
> On 05/10/2010 06:41 PM, Cam Macdonell wrote:
>>
>>> What would happen to any data written to the BAR before the the handshake
>>> completed? I think it would disappear.
>>>
>>
>> But, the BAR isn't there until the handshake is completed. Only
On 05/10/2010 06:41 PM, Cam Macdonell wrote:
What would happen to any data written to the BAR before the the handshake
completed? I think it would disappear.
But, the BAR isn't there until the handshake is completed. Only after
receiving the shared memory fd does my device call pci_reg
On Mon, May 10, 2010 at 9:38 AM, Anthony Liguori wrote:
> On 05/10/2010 10:28 AM, Avi Kivity wrote:
>>
>> On 05/10/2010 06:22 PM, Cam Macdonell wrote:
>>>
> +
> + /* if the position is -1, then it's shared memory region fd */
> + if (incoming_posn == -1) {
> +
> +
"Michael S. Tsirkin" wrote on 05/09/2010 09:42:09 AM:
> After migration, vhost was not getting features
> acked because set_features callback was never invoked.
> The fix is just to invoke that callback.
>
> Reported-by: David L Stevens
> Signed-off-by: Michael S. Tsirkin
> ---
>
> David, a t
On Mon, May 10, 2010 at 10:58:45AM -0500, Anthony Liguori wrote:
> On 05/10/2010 10:54 AM, Gleb Natapov wrote:
> >On Mon, May 10, 2010 at 10:48:42AM -0500, Anthony Liguori wrote:
> >>On 05/10/2010 03:11 AM, Gleb Natapov wrote:
> >>>This patch adds native support for booting from virtio disks to Sea
On 05/10/2010 10:54 AM, Gleb Natapov wrote:
On Mon, May 10, 2010 at 10:48:42AM -0500, Anthony Liguori wrote:
On 05/10/2010 03:11 AM, Gleb Natapov wrote:
This patch adds native support for booting from virtio disks to Seabios.
Signed-off-by: Gleb Natapov
A related problem tha
On Mon, May 10, 2010 at 10:48:42AM -0500, Anthony Liguori wrote:
> On 05/10/2010 03:11 AM, Gleb Natapov wrote:
> >This patch adds native support for booting from virtio disks to Seabios.
> >
> >Signed-off-by: Gleb Natapov
>
> A related problem that I think we need to think about how we solve
> is
Shin-ichiro KAWASAKI a écrit :
> Hello, Rob,
>
> This mail might be too late, but I want to report you that I
> encountered similar trouble.
>
> Using the linux kernel after the following commit, the qemu-sh
> serial console shows no output.
>
>cd5f107628ab89c5dec5ad923f1c27f4cba41972
>
> T
On 05/10/2010 03:11 AM, Gleb Natapov wrote:
This patch adds native support for booting from virtio disks to Seabios.
Signed-off-by: Gleb Natapov
A related problem that I think we need to think about how we solve is
indicating to Seabios which device we want to boot from
With your patch,
On Mon, May 10, 2010 at 9:28 AM, Avi Kivity wrote:
> On 05/10/2010 06:22 PM, Cam Macdonell wrote:
>>
>>>
+
+ /* if the position is -1, then it's shared memory region fd */
+ if (incoming_posn == -1) {
+
+ s->num_eventfds = 0;
+
+ if (check_shm
On 05/10/2010 10:28 AM, Avi Kivity wrote:
On 05/10/2010 06:22 PM, Cam Macdonell wrote:
+
+/* if the position is -1, then it's shared memory region fd */
+if (incoming_posn == -1) {
+
+s->num_eventfds = 0;
+
+if (check_shm_size(s, incoming_fd) == -1) {
+exi
On Mon, May 10, 2010 at 4:39 AM, Avi Kivity wrote:
> On 04/21/2010 08:53 PM, Cam Macdonell wrote:
>>
>> This avoids the need of using qemu_ram_alloc and mmap with MAP_FIXED to
>> map a
>> host file into guest RAM. This function mmaps the opened file anywhere
>> and adds
>> the memory to the ram b
On 05/10/2010 06:22 PM, Cam Macdonell wrote:
+
+/* if the position is -1, then it's shared memory region fd */
+if (incoming_posn == -1) {
+
+s->num_eventfds = 0;
+
+if (check_shm_size(s, incoming_fd) == -1) {
+exit(-1);
+}
+
+/* creating a
On Mon, May 10, 2010 at 5:59 AM, Avi Kivity wrote:
> On 04/21/2010 08:53 PM, Cam Macdonell wrote:
>>
>> Support an inter-vm shared memory device that maps a shared-memory object
>> as a
>> PCI device in the guest. This patch also supports interrupts between
>> guest by
>> communicating over a uni
On 05/10/2010 06:13 PM, Cam Macdonell wrote:
+int kvm_set_ioeventfd_mmio_long(int fd, uint32_t addr, uint32_t val, bool
assign)
+{
+
+int ret;
+struct kvm_ioeventfd iofd;
+
+iofd.datamatch = val;
+iofd.addr = addr;
+iofd.len = 4;
+iofd.flags = KVM_IOEVENTFD_FLAG_DATAMATC
On Mon, May 10, 2010 at 4:43 AM, Avi Kivity wrote:
> On 04/21/2010 08:53 PM, Cam Macdonell wrote:
>>
>> Generic functions to assign irqfds and ioeventfds.
>>
>>
>
> Signoff.
>
>> }
>>
>> #ifdef KVM_IOEVENTFD
>> +int kvm_set_irqfd(int fd, uint16_t vector, uint32_t gsi)
>> +{
>> + struct kvm_ir
Please send in any agenda items you are interested in covering.
If we have a lack of agenda items I'll cancel the week's call.
thanks,
-chris
Hello, Rob,
This mail might be too late, but I want to report you that I
encountered similar trouble.
Using the linux kernel after the following commit, the qemu-sh
serial console shows no output.
cd5f107628ab89c5dec5ad923f1c27f4cba41972
This trouble was discussed in sh-linux ML.
http://m
On 05/10/2010 04:43 PM, Jan Kiszka wrote:
Avi Kivity wrote:
On 05/10/2010 01:59 PM, Jan Kiszka wrote:
From a quick glance at the JSON spec, there is no room for a new type. I
think we have to overload an existing one and convert that into a
QBuffer (typically, we know the actual se
Hello,
On 05/09/2010 09:11 PM, Alexander Graf wrote:
> Sebastian Herbszt wrote:
>> The ICH6 AHCI implementation submitted by Chong is an all-in-one
>> attempt (ahci.c). It includes all needed parts of the ICH6, AHCI,
>> SATA and ATA specification. The code in hw/ide/* on the other hand
>> is spl
Hi,
I'm working on eol bootloader
(http://vivien.chappelier.free.fr/typhoon/release/eol/20070609/eol-0.5.tar.gz)
This bootloader was written to load kernel image from sd card in SPL
mode for htc phones (omap 730, omap 850) to
no start WINCE but you can choose what to load.
First of all I would l
- fix build error when activating traces
- properly display the config flags register
Signed-off-by: Vincent Palatin
---
hw/usb-ehci.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index e724653..ab9a23e 100644
--- a/hw/usb-ehci.c
+++
Dear developers,
While using the EHCI patchset, I have found 2 minor issues.
So, I send in this email thread 2 fix proposals.
Those patches apply on top of the Jan Kiszka's ehci branch.
Thanks to Jan and David for gathering and updating this patchset.
--
Vincent
We must check against the current running command not the list address.
Signed-off-by: Vincent Palatin
---
hw/usb-ehci.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb-ehci.c b/hw/usb-ehci.c
index 8be0780..e724653 100644
--- a/hw/usb-ehci.c
+++ b/hw/usb-ehci.c
1 - 100 of 140 matches
Mail list logo