@@ -600,11 +600,13 @@ static void vmsvga_fifo_run(struct vmsvga_state_s *s)
int x, y, dx, dy, width, height;
struct vmsvga_cursor_definition_s cursor;
uint32_t cmd_start;
+ bool cmd_ignored;
len = vmsvga_fifo_length(s);
while (len > 0 && --maxloop > 0) {
/* May need to go back to the start of the command if incomplete */
cmd_start = s->fifo_stop;
+ cmd_ignored = false;
switch (cmd = vmsvga_fifo_read(s)) {
@@ -759,6 +761,9 @@ static void vmsvga_fifo_run(struct vmsvga_state_s *s)
default:
args = 0;
+ goto badcmd;
+ ignoredcmd:
+ cmd_ignored = true;
badcmd:
len -= args;
if (len < 0) {
@@ -767,8 +772,10 @@ static void vmsvga_fifo_run(struct vmsvga_state_s *s)
while (args--) {
vmsvga_fifo_read(s);
}
- printf("%s: Unknown command 0x%02x in SVGA command FIFO\n",
- __func__, cmd);
+ if (!cmd_ignored) {
+ printf("%s: Unknown command 0x%02x in SVGA command FIFO\n",
+ __func__, cmd);
+ }
break;
rewind: