qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] The issue about parameters(uint64) of a device are treated as signed long int.
@ 2015-07-31  8:28 Lin Ma
  2015-08-07  4:54 ` Lin Ma
  0 siblings, 1 reply; 3+ messages in thread
From: Lin Ma @ 2015-07-31  8:28 UTC (permalink / raw)
  To: qemu-devel@nongnu.org Developers

Hi all,

Because qemu uses strtoll to parse string in parse_str function of 
qapi/string-input-visitor.c,  I'd like to know why the parameters of 
scsi-hd device which are specified as uint64(says wwn) are getting 
interpreted as signed long int's instead

e.g:
# qemu-system-x86_64 -device scsi-hd,?
......
scsi-hd.wwn=uint64
......

Does the highest bit of wwn value have special meaning and it must be a 
zero?

Thanks in advance,
Lin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-07 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31  8:28 [Qemu-devel] The issue about parameters(uint64) of a device are treated as signed long int Lin Ma
2015-08-07  4:54 ` Lin Ma
2015-08-07 12:09   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).