The attached patch, restores support for writable block devices using
Virtual FAT disk images.
RW support using a generated qcow base image was modified after qemu 0.8.2
was released; while adding AIO support to block-qcow.c in release 1.8; and
resulting in a broken qcow image based in an inexiste
Hi,
On Tue, 11 Mar 2008, Carlo Marcelo Arenas Belon wrote:
> The attached patch, restores support for writable block devices using
> Virtual FAT disk images.
>
> RW support using a generated qcow base image was modified after qemu
> 0.8.2 was released; while adding AIO support to block-qcow.c
BTW, it would be good for power consumption to provide a virtual HPET
to the guest, and reprogram the host timer as appropriate. 10ms sleeps
kill kitten ;)
Samuel
When SDL is invisible/minimized, there is no need to keep calling the
VGA refresh 33 times per second. This patch reduces in that case the
rate to 2 times per second, which should be responsive enough for the
un-minimizing event.
Index: console.h
==
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno 08/03/11 17:17:59
Modified files:
. : block-qcow.c block-qcow2.c block-vmdk.c block.c
block.h block_int.h
Log message:
Fix CVE-2008-0928 - insufficient
IMHO it would be much simpler to do all the tests in the block format
handlers.
Fabrice.
Aurelien Jarno wrote:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno 08/03/11 17:17:59
Modified files:
. : block-qcow.c block-qcow2.c block-vmdk.c block.
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl 08/03/11 20:59:03
Modified files:
target-sparc : translate.c
Log message:
Use a TCG global for regwptr
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cvsroot=qemu&r
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl 08/03/11 21:01:03
Modified files:
. : osdep.h
tcg: tcg.c
tcg/i386 : tcg-target.c
tcg/sparc : tcg-target.c
tcg/x86_64 : tcg-target.c
Fabrice Bellard a écrit :
> IMHO it would be much simpler to do all the tests in the block format
> handlers.
>
Do you mean move all the tests into block-{qcow,qcow2,vmdk}.c ?
> Aurelien Jarno wrote:
>> CVSROOT:/sources/qemu
>> Module name:qemu
>> Changes by:Aurelien Jarno 08/03
Aurelien Jarno wrote:
> Fabrice Bellard a écrit :
>> IMHO it would be much simpler to do all the tests in the block format
>> handlers.
>>
>
> Do you mean move all the tests into block-{qcow,qcow2,vmdk}.c ?
I suggest reverting the patch and writing correct tests in
block-{qcow,qcow2,vmdk}.c. BTW,
Laurent Vivier wrote:
> This patch is a new version of qemu-img using NBD device to mount Qemu
> disk image.
>
> To not hang on UP system, it needs following patch:
> http://article.gmane.org/gmane.linux.drivers.nbd.general/42
> If you want to use loop to see partitions, you need this patch:
> htt
On Sat, Mar 08, 2008 at 11:08:48AM -0600, Hollis Blanchard wrote:
> On Sat, 2008-03-08 at 14:59 +0100, Aurelien Jarno wrote:
> > On Fri, Mar 07, 2008 at 11:23:51AM -0600, Hollis Blanchard wrote:
> > > Below is a patch I'm using to fix rtl8139.c for PowerPC/PowerPC
> > > target/host combination. It
On Tue, Mar 11, 2008 at 11:43:47PM +0100, Fabrice Bellard wrote:
> Aurelien Jarno wrote:
> > Fabrice Bellard a écrit :
> >> IMHO it would be much simpler to do all the tests in the block format
> >> handlers.
> >>
> >
> > Do you mean move all the tests into block-{qcow,qcow2,vmdk}.c ?
>
> I sugge
Marius Groeger wrote:
> On Wed, 9 Jan 2008, Marius Groeger wrote:
>
>
>> On Wed, 9 Jan 2008, Marius Groeger wrote:
>>
>>
>>> I'm having problems with qemu's (-M prep, -cpu 604) handling of the
>>> MSR_SE bit. My gdbstub can successfully step along regular code, but
>>> qemu chokes when st
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno 08/03/11 23:22:37
Modified files:
target-sh4 : op.c translate.c
Log message:
SH4, fix several instructions
fix instruction code for frchg, fschg, ocbp.
fix addre
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Aurelien Jarno 08/03/11 23:30:22
Modified files:
. : block-qcow.c block-qcow2.c block-vmdk.c block.c
block.h block_int.h
linux-user : syscall.c
Log message:
On Thu, Jan 31, 2008 at 06:31:09PM +0100, Alexander Graf wrote:
>
> On Jan 31, 2008, at 10:58 AM, Kevin Wolf wrote:
>
>> Hi,
>>
>> I like this idea. When I just tried to load my multiboot kernel it
>> failed, though, because of the following piece of code:
>>
>>> +// XXX: multiboot header may b
On Sun, Feb 10, 2008 at 11:26:06AM +, Paul Brook wrote:
> On Sunday 10 February 2008, Blue Swirl wrote:
> > On 2/9/08, H. Peter Anvin <[EMAIL PROTECTED]> wrote:
> > > Blue Swirl wrote:
> > > >> If you look at the patch, there are no timing dependencies; the only
> > > >> parameter is the depth
Samuel Thibault wrote:
When SDL is invisible/minimized, there is no need to keep calling the
VGA refresh 33 times per second. This patch reduces in that case the
rate to 2 times per second, which should be responsive enough for the
un-minimizing event.
Is there any need to update at all, if
On Mon, Feb 25, 2008 at 06:48:06PM +0100, Bernhard Kauer wrote:
> The ncurses console uses mvwaddchnstr() to print a line of output
> to a ncurses pad. Unfortunately this routine stops to print further
> chars if a zero-char is seen in the line. This has the effect that
> parts of a line are never
Anders, le Wed 12 Mar 2008 00:56:42 +0100, a écrit :
> Samuel Thibault wrote:
> >When SDL is invisible/minimized, there is no need to keep calling the
> >VGA refresh 33 times per second. This patch reduces in that case the
> >rate to 2 times per second, which should be responsive enough for the
>
Use GPE _L01 to notify OSPM.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl
===
--- kvm-userspace.hotplug2.orig/bios/acpi-dsdt.dsl
+++ kvm-userspace.hotplug2/bios/acpi-dsdt.dsl
@@
Presence of _EJ0 method indicates that slots are hot-pluggable.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl
===
--- kvm-userspace.hotplug2.orig/bios/acpi-dsdt.dsl
+++ kvm-usersp
The following patchset allows PCI hot add/remove through ACPI (handled
by the acpiphp driver on Linux guests).
Comments are welcome.
--
Return PCIBus pointer from bus number integer.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/pci.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/pci.c
+++ kvm-userspace.hotplug2/qemu/hw/pci.c
Enable the corresponding bit on the PCIST region and trigger the SCI.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/acpi.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/acpi.c
+++ kvm-userspac
Dynamically allocate drive options and drive table index, so to
reused indexes when devices are removed.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/sysemu.h
===
--- kvm-userspace.hotplug2.o
The same, but for nics.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/net.h
===
--- kvm-userspace.hotplug2.orig/qemu/net.h
+++ kvm-userspace.hotplug2/qemu/net.h
@@ -46,6 +46,7 @@ struct NICInfo
Change the PCI network drivers init functions to return the PCIDev, to
inform which slot has been hot-plugged.
Also record devfn on the NICInfo structure to locate for release
on hot-removal.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/e1000.c
===
Record devfn on the BlockDriverState structure to locate for release
on hot-removal.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/block_int.h
===
--- kvm-userspace.hotplug2.orig/qemu/block_in
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/sysemu.h
===
--- kvm-userspace.hotplug2.orig/qemu/sysemu.h
+++ kvm-userspace.hotplug2/qemu/sysemu.h
@@ -57,6 +57,10 @@ int qemu_live_loadvm_state(QE
Device hotplug will use that structure from a separate
file.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/sysemu.h
===
--- kvm-userspace.hotplug2.orig/qemu/sysemu.h
+++ kvm-userspace.hotplug2/
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/net.h
===
--- kvm-userspace.hotplug2.orig/qemu/net.h
+++ kvm-userspace.hotplug2/qemu/net.h
@@ -38,6 +38,7 @@ void do_info_network(void);
int hack_a
Return PCIDevice from bus number and slot.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug/qemu/hw/pci.c
===
--- kvm-userspace.hotplug.orig/qemu/hw/pci.c
+++ kvm-userspace.hotplug/qemu/hw/pci.c
@@ -689
Export net/drive add/remove functions for device hotplug usage.
Return the table index on add.
Return failure instead of exiting if limit has been reached
on drive_add.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/vl.c
==
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/virtio-blk.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/virtio-blk.c
+++ kvm-userspace.hotplug2/qemu/hw/virtio-blk.c
@@ -161,5 +161,5 @@ void *v
So drivers can clear their mem io table entries on exit back to unassigned
state.
Also make the io mem index allocation dynamic.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/cpu-all.h
===
-
Handle the _EJ0 notifications.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/acpi.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/acpi.c
+++ kvm-userspace.hotplug2/qemu/hw/acpi.c
@@ -26,6 +26,
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/irq.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/irq.c
+++ kvm-userspace.hotplug2/qemu/hw/irq.c
@@ -56,6 +56,12 @@ qemu_irq *qemu_allocate_irqs(
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/lsi53c895a.c
===
--- kvm-userspace.hotplug2.orig/qemu/hw/lsi53c895a.c
+++ kvm-userspace.hotplug2/qemu/hw/lsi53c895a.c
@@ -1849,6 +1849,18 @@ void
If the io port is unassigned, the previous private pointer is
meaningless.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/vl.c
===
--- kvm-userspace.hotplug2.orig/qemu/vl.c
+++ kvm-userspace.ho
Add monitor command to hot-remove devices.
Remove device data on _EJ0 notification.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/monitor.c
===
--- kvm-userspace.hotplug2.orig/qemu/monitor.c
+
To be used by hot-remove.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/vl.c
===
--- kvm-userspace.hotplug2.orig/qemu/vl.c
+++ kvm-userspace.hotplug2/qemu/vl.c
@@ -5010,6 +5010,12 @@ static int
Add monitor command to hot-add PCI devices (nic and storage).
Syntax is:
pci_add pcibus nic|storage params
It returns the bus slot and function for the newly added device on success.
It is possible to attach a disk to a device after PCI initialization via
the drive_add command. If so, a manual
Unregister the pci device, unassign its IO and memory regions, and free
associated data.
Add a callback so drivers can free device state.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/qemu/hw/pci.c
===
The _EJ0 method is executed by the OS once it has successfully finished
device removal. Inform that event through IO port space so QEMU
can free the associated data.
Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
Index: kvm-userspace.hotplug2/bios/acpi-dsdt.dsl
==
Fabrice Bellard wrote:
Laurent Vivier wrote:
This patch is a new version of qemu-img using NBD device to mount Qemu
disk image.
To not hang on UP system, it needs following patch:
http://article.gmane.org/gmane.linux.drivers.nbd.general/42
If you want to use loop to see partitions, you need
Aurelien Jarno wrote:
On Thu, Jan 31, 2008 at 06:31:09PM +0100, Alexander Graf wrote:
Is it really necessary to have *that much* assembly code within hw/pc.c?
I would rather see multiboot support as a small image generated from
C and/or assembly code, loaded either with -hda or with a new op
48 matches
Mail list logo