mirror of https://github.com/xqemu/xqemu.git
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
* stefanha/trivial-patches: qemu-ga: for w32, fix leaked handle ov.hEvent in ga_channel_write() ioapic: fix build with DEBUG_IOAPIC .gitignore: add qemu-bridge-helper and option rom build products cleanup obsolete typedef monitor: Remove unused bool field 'qapi' in mon_cmd_t struct ds1338: Add missing break statement vnc: Fix packed boolean struct members Remove type field in ModuleEntry as it's not used
This commit is contained in:
commit
b85a4ec8a7
|
@ -39,6 +39,7 @@ qemu-img-cmds.texi
|
|||
qemu-img-cmds.h
|
||||
qemu-io
|
||||
qemu-ga
|
||||
qemu-bridge-helper
|
||||
qemu-monitor.texi
|
||||
QMP/qmp-commands.txt
|
||||
test-coroutine
|
||||
|
@ -75,9 +76,14 @@ patches
|
|||
pc-bios/bios-pq/status
|
||||
pc-bios/vgabios-pq/status
|
||||
pc-bios/optionrom/linuxboot.bin
|
||||
pc-bios/optionrom/linuxboot.raw
|
||||
pc-bios/optionrom/linuxboot.img
|
||||
pc-bios/optionrom/multiboot.bin
|
||||
pc-bios/optionrom/multiboot.raw
|
||||
pc-bios/optionrom/multiboot.img
|
||||
pc-bios/optionrom/kvmvapic.bin
|
||||
pc-bios/optionrom/kvmvapic.raw
|
||||
pc-bios/optionrom/kvmvapic.img
|
||||
.stgit-*
|
||||
cscope.*
|
||||
tags
|
||||
|
|
|
@ -100,6 +100,7 @@ static int ds1338_send(I2CSlave *i2c, uint8_t data)
|
|||
break;
|
||||
case 5:
|
||||
s->now.tm_mon = from_bcd(data & 0x1f) - 1;
|
||||
break;
|
||||
case 6:
|
||||
s->now.tm_year = from_bcd(data) + 100;
|
||||
break;
|
||||
|
|
|
@ -195,7 +195,7 @@ ioapic_mem_write(void *opaque, target_phys_addr_t addr, uint64_t val,
|
|||
if (size != 4) {
|
||||
break;
|
||||
}
|
||||
DPRINTF("write: %08x = %08x\n", s->ioregsel, val);
|
||||
DPRINTF("write: %08x = %08" PRIx64 "\n", s->ioregsel, val);
|
||||
switch (s->ioregsel) {
|
||||
case IOAPIC_REG_ID:
|
||||
s->id = (val >> IOAPIC_ID_SHIFT) & IOAPIC_ID_MASK;
|
||||
|
|
1
module.c
1
module.c
|
@ -19,7 +19,6 @@
|
|||
|
||||
typedef struct ModuleEntry
|
||||
{
|
||||
module_init_type type;
|
||||
void (*init)(void);
|
||||
QTAILQ_ENTRY(ModuleEntry) node;
|
||||
} ModuleEntry;
|
||||
|
|
|
@ -128,7 +128,6 @@ typedef struct mon_cmd_t {
|
|||
int (*cmd_async)(Monitor *mon, const QDict *params,
|
||||
MonitorCompletion *cb, void *opaque);
|
||||
} mhandler;
|
||||
bool qapi;
|
||||
int flags;
|
||||
} mon_cmd_t;
|
||||
|
||||
|
|
|
@ -236,7 +236,6 @@ typedef struct MACAddr MACAddr;
|
|||
typedef struct VLANState VLANState;
|
||||
typedef struct VLANClientState VLANClientState;
|
||||
typedef struct i2c_bus i2c_bus;
|
||||
typedef struct i2c_slave i2c_slave;
|
||||
typedef struct ISABus ISABus;
|
||||
typedef struct SMBusDevice SMBusDevice;
|
||||
typedef struct PCIHostState PCIHostState;
|
||||
|
|
|
@ -259,6 +259,10 @@ static GIOStatus ga_channel_write(GAChannel *c, const char *buf, size_t size,
|
|||
*count = written;
|
||||
}
|
||||
|
||||
if (ov.hEvent) {
|
||||
CloseHandle(ov.hEvent);
|
||||
ov.hEvent = NULL;
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,9 @@
|
|||
void vnc_sasl_client_cleanup(VncState *vs)
|
||||
{
|
||||
if (vs->sasl.conn) {
|
||||
vs->sasl.runSSF = vs->sasl.waitWriteSSF = vs->sasl.wantSSF = 0;
|
||||
vs->sasl.runSSF = false;
|
||||
vs->sasl.wantSSF = false;
|
||||
vs->sasl.waitWriteSSF = 0;
|
||||
vs->sasl.encodedLength = vs->sasl.encodedOffset = 0;
|
||||
vs->sasl.encoded = NULL;
|
||||
g_free(vs->sasl.username);
|
||||
|
|
|
@ -37,9 +37,9 @@ typedef struct VncDisplaySASL VncDisplaySASL;
|
|||
struct VncStateSASL {
|
||||
sasl_conn_t *conn;
|
||||
/* If we want to negotiate an SSF layer with client */
|
||||
int wantSSF :1;
|
||||
bool wantSSF;
|
||||
/* If we are now running the SSF layer */
|
||||
int runSSF :1;
|
||||
bool runSSF;
|
||||
/*
|
||||
* If this is non-zero, then wait for that many bytes
|
||||
* to be written plain, before switching to SSF encoding
|
||||
|
|
Loading…
Reference in New Issue